Group:  Microsoft Word ยป microsoft.public.word.vba.beginners
Thread: File Name Return?

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

File Name Return?
Matt 04.08.2006 05:29:01
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.
Re: File Name Return?
"Jonathan West" <jwest[ at ]mvps.org> 04.08.2006 08:37:00

"Matt" <Matt[ at ]discussions.microsoft.com> wrote in message
news:0A73046A-2D16-41D8-93EA-A7C007286762[ at ]microsoft.com...
[Quoted Text]
> 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

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net