OaklandJim
Well-known Member
- Joined
- Nov 29, 2018
- Messages
- 833
- Office Version
- 365
- Platform
- Windows
Need to get full path from user. Tried both msoFileDialogSaveAs and msoFileDialogFolderPicker with .FileDialog.
Unless I missed something msoFileDialogFolderPicker returns a folder then I need to figgger out rest of path? I guess I could parse all dirs and find the folder name but what about dups in other paths?
I may be misusing msoFileDialogSaveAs but it adds .xls to the default path I specify. Makes sense if trying to save a file not a path...stating the obvious I guess. But that is not helpful. Can I specify a path only for that? I did try with .InitialFileName = ThisWorkbook.path but Excel adds that .xls extension to what user sees.
Do you see a path forward for me to address this need.
Jim
Unless I missed something msoFileDialogFolderPicker returns a folder then I need to figgger out rest of path? I guess I could parse all dirs and find the folder name but what about dups in other paths?
I may be misusing msoFileDialogSaveAs but it adds .xls to the default path I specify. Makes sense if trying to save a file not a path...stating the obvious I guess. But that is not helpful. Can I specify a path only for that? I did try with .InitialFileName = ThisWorkbook.path but Excel adds that .xls extension to what user sees.
Do you see a path forward for me to address this need.
Jim