This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub ChooseFile() | |
Dim fd As FileDialog | |
Set fd = Application.FileDialog(msoFileDialogFilePicker) | |
'get the number of the button chosen | |
Dim FileChosen As Integer | |
FileChosen = fd.Show | |
If FileChosen <> -1 Then | |
'didn't choose anything (clicked on CANCEL) |
NewerOlder