Thanks for taking a look at this. I got a syntax error when I tested it as you wrote it though, from the first line:
Regarding the getopenfilename command, the help file says:
On the Macintosh, this string is a list of comma-separated file type codes (for example, "TEXT,XLA5,XLS4"). Spaces are significant and shouldn't be inserted before or after the comma separators unless they're part of the file type code. If omitted, this argument defaults to all file types.
The thing is, if I run the macro as it was, but I change the getopenfilename line to
then I recieve an open files dialogue box, but I cannot use shift+click to select more than one file, like I normally would do. So I need to figure out how to do "multiselect=True" and the help file only says a little about this:
.GetOpenFilename(FileFilter, FilterIndex, Title, ButtonText, MultiSelect)
MultiSelect Optional Variant. True to allow multiple file names to be selected. False to allow only one file name to be selected. The default value is False
Remarks
This method returns the selected file name or the name entered by the user. The returned name may include a path specification. If MultiSelect is True, the return value is an array of the selected file names (even if only one filename is selected). Returns False if the user cancels the dialog box.
This method may change the current drive or folder.
Maybe the setup for this action is different on a mac or something b/c I don't understand why the "true" already in the getopenfilename code didn't work originally. The "Your Files, *.xls", is understandable, like you say b/c it's MSDOS based, but I dont understand the rest...
Bookmarks