File Name Return?

M

Matt

I'm working with the Word 2007 beta. Does anyone know if it is possible to
get the dialog to return the selected file and path name after a user selects
a file in the wdDialogFileSearch dialog? If not, is there an equivalent way
to prompt the user for a file name, returning the path and file name?

Note - I do not want the code to OPEN the file, only to return the file name.
 
J

Jonathan West

Matt said:
I'm working with the Word 2007 beta. Does anyone know if it is possible to
get the dialog to return the selected file and path name after a user
selects
a file in the wdDialogFileSearch dialog? If not, is there an equivalent
way
to prompt the user for a file name, returning the path and file name?

Note - I do not want the code to OPEN the file, only to return the file
name.

Look up the FileDialog object.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top