Dialog box for user to select a folder
XL2002 has a browse folder dialog.
With Application.FileDialog(msoFileDialogFolderPicker)
.Show
MsgBox .SelectedItems(1)
End With
Look up FileDialog in the VBA help
--
HTH
Bob Phillips
(replace xxxx in the email address with gmail if mailing direct)
"hmm" wrote in message
...
I would like to include the GetOpenFilename method in a dialog box, in
order
for the user to select a folder.
1. Can the method indeed be used to select a folder name?
2. Can I specify filtered browsing, that will display only folders?
Thanks.
|