knightofni
New Member
- Joined
- Sep 22, 2010
- Messages
- 12
Hello all,
I currently have a Macro that opens a workbook, copies data from a sheet and then closes it again, this works fine. However, I now have 43 workbooks that I need to work with and really don't want to have to write out that many file names in the macro.
Therefore I was wondering if anyone could help devise a dynamic loop function that would:
Many thanks
I currently have a Macro that opens a workbook, copies data from a sheet and then closes it again, this works fine. However, I now have 43 workbooks that I need to work with and really don't want to have to write out that many file names in the macro.
Therefore I was wondering if anyone could help devise a dynamic loop function that would:
- Use a list of filenames held in another spreadsheet to open the file
- Copy Data onto master sheet
- Close File
- Repeat through list of filenames
Many thanks