Opening files

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have tried to use the GetOpenFilename application in VBA so that I would be
able to get the Open dialog box to display at a specified place but it will
only display the open dialog box of the last file opened is there a
application or another method of getting the Open file dialog box to display
at a specific place or not? Thank you

Heath
 
Use the ChDir statement (and perhaps ChDrive as well if you need a different
drive) to switch to the directory you want before you execute the
GetOpenFileName line.
 

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

Back
Top