Created
October 28, 2014 09:33
-
-
Save thoriqmacto/b5002dd9a51aae64eac4 to your computer and use it in GitHub Desktop.
This routine is to show open file dialog and get the path of the file.
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 browseFile() | |
Dim desPathName As Variant | |
desPathName = Application.GetOpenFilename(FileFilter:="Excel Files (*.xls*), *.xls*", Title:="Please select a file") | |
Range("D8").Value = desPathName | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment