Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / August 2006

Tip: Looking for answers? Try searching our database.

VBA to Show Directory of Doc Files

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
WayneK - 19 Aug 2006 22:49 GMT
Hello. Could you please share with me the VBA code that will
show a list of all the doc files within a directory, allowing you
to make a selection. (I think this is called a dialog box). And then,
once a file choice has been made, it will open that file, and store
the file's path and name to variable xfile.

Thank you for your help.

Wayne
Jonathan West - 20 Aug 2006 00:12 GMT
> Hello. Could you please share with me the VBA code that will
> show a list of all the doc files within a directory, allowing you
[quoted text clipped - 5 lines]
>
> Wayne

Look up the FileDialog object in VBA Help.

Signature

Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.