Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open File Dialog without Having it linked to a form

Status
Not open for further replies.

simeybt

Programmer
Nov 3, 2003
147
GB
Hi All,

I want my code to throw up a file dialog window so my user can select a file from which data is to be imported from, but I don’t want this linked to a form I just what it to pop up once program needs the file name. Is this possible or do I need t put the dialog onto a form.

Simon
 
Hi simeybt,

Try using ..

Code:
myFileName = Application.GetOpenFileName

Enjoy,
Tony
 
Works a treat tony,

Thanks for the quick response

Simon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top