Opening the Folder dialog box?

J

Jun

I would like to select a folder instead of files from VBA Word. I know that
the wdDialogFileOpen will only open files, but I would like a way of just
returning a directory path. Is there any such dialog that could just
retrieve the directory like those found in installation kits?

Thanks,
 
S

Steve Yandl

I don't think it was available before Office 2000 but in Excel I've used
Application.FileDialog(msoFileDialogFolderPicker)

Steve
 
Top