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 / Excel / General Excel Questions / November 2007

Tip: Looking for answers? Try searching our database.

Excel 2003 - VBA - OpenFileName popup

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
C Brandt - 19 Nov 2007 01:25 GMT
I am have my users navigate to several workbooks for importing data. I would
like to work it so that they can do the navigation, store the path and
filename, then subsequently do the actual file manipulation.

I use the following code to access the fn & Path:

   RTNFileName = Application.GetOpenFilename
   Workbooks.Open (RTNFileName)

When the OPEN popup is presented, the header just says "Open". Is there a
way to change that so that it reminds the user what file they should be
accessing?

Any suggestions?

Craig
Dave Peterson - 19 Nov 2007 02:06 GMT
VBA's help is pretty nice on this one:

RTNFileName = application.getopenfilename(title:="what do you want here")

You may want to look at the other parms.

> I am have my users navigate to several workbooks for importing data. I would
> like to work it so that they can do the navigation, store the path and
[quoted text clipped - 12 lines]
>
> Craig

Signature

Dave Peterson

 
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.