
Getting a File's name and Path
Hi Everett
MsgBox Options.DefaultFilePath(wdCurrentFolderPath) & "\" & dlg.Name
But wdDialogFileOpen gives an error if the user selects more than one file -
for a workaround see:
http://www.*-*-*.com/
Regards
Dave
|
| I can use:
|
| Set dlg = Dialogs(wdDialogFileOpen)
| dlg.Display
| MsgBox dlg.Name
|
| to get a file's name without actually opening it, but how
| do I return a user-selected file's full name, including
| its path (without opening it)?
|
| Thanks-
| Everett
|
|