Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello
I have a macro that prompts the user to open a file. Currently it is a .csv file but i want it to be able to open .csv or .xls. This is my code: fileToOpen = Application.GetOpenFilename("Excel Files (*.csv), *.csv") Is there a way i can add an OR or AND somehow or make it be able to open any sort of file? Thanks in Advance |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Opening Excel2003 files w/macros in 2007 - how? | Setting up and Configuration of Excel | |||
How do I stop Excel from opening all files w/macros & running them | Excel Discussion (Misc queries) | |||
Auto run of macros immediately after opening the files | Excel Worksheet Functions | |||
Using VBA to disable macros when opening files | Excel Programming | |||
Auto run macros when opening CSV files | Excel Programming |