i want to get file's access path as string, not open the file.
the code should be like:
Dim msg As String
Application.FileDialog(msoFileDialogFolderPicker).Show
msg = Application.FileDialog(msoFileDialogFilePicker).SelectedItems(1)
by using this filedialog, i can only have folder's directory, but can not see any file.
can anybody give me an idea which built-in dialog i could use to get file path.
Thanks
the code should be like:
Dim msg As String
Application.FileDialog(msoFileDialogFolderPicker).Show
msg = Application.FileDialog(msoFileDialogFilePicker).SelectedItems(1)
by using this filedialog, i can only have folder's directory, but can not see any file.
can anybody give me an idea which built-in dialog i could use to get file path.
Thanks