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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating an Import Dialogue for files into Excel 1

Status
Not open for further replies.

abitslow

Technical User
Apr 25, 2003
44
I am looking to make a macro to allow users of my spreadsheet to automate the import of a file which they create. Is it possible to make a dialog box so that they browse-to and select a file and then I can use this selection in a QueryTables.Add context to import it? Alternative suggestions welcome.

Thanks in advance,
Matt.
 
Have a look at the Application.GetOpenFilename method.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 




Of check out...
[tt]
Data > Get External Data > IMPORT

[/tt]

Skip,
[sub]
[glasses] [red][/red]
[tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top