GeneralShamu
Board Regular
- Joined
- Jul 6, 2007
- Messages
- 127
I am trying to run code on all the XLS files in a directory. I want the user to specify what directory they want to execute the code on though.
I don't want this to be done by the user typing out the directory but selecting it as they would a file.
Does anyone know how to do this?
Application.GetOpenFilename(FileFilter:="Excel Files (*.XLS), *.XLS", Title:="Select File To Be Opened")
is what is used for the user selecting a single file/workbook.
I don't want this to be done by the user typing out the directory but selecting it as they would a file.
Does anyone know how to do this?
Application.GetOpenFilename(FileFilter:="Excel Files (*.XLS), *.XLS", Title:="Select File To Be Opened")
is what is used for the user selecting a single file/workbook.