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

Excel VBA directory list box, drive list box, and file list box???

Status
Not open for further replies.

Jooky68

Programmer
Jul 10, 2002
231
US
I am using excel VBA, is there a way for me to access the file list box, drive list box, and the directory list box?
If so what references to I need to make?
 
The Excel Application object has methods like GetOpenFilename and GetSaveAsFilename that invoke the directory list box. Does this help?

ssmgr
 
Yeah I wanted to avoid using them for what I have to do...but I think that may be my only option...thanks for the response
 
Another quick question is there a way to set a filter to the getopenfilename? Cause I only want the user to be able to select Excel files.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top