0

I have completed some code to open multiple workbooks and copy data into one master workbook. I can't figure out how the code "chooses" which workbook to open first to import. Anybody have any ideas what is the method excel uses to select the files?

Ben Rhys-Lewis
  • 3,118
  • 8
  • 34
  • 45

1 Answers1

0

Take a look at this post over here. There is a link in the responses to a blog which talks about Window natural sorting method. Unless you specify in the code which files to open, VBA will normally open the files based on the natural sorting method.

Community
  • 1
  • 1
Sorcefyre
  • 204
  • 2
  • 2