Excel Ver. 2010
I have built a WB that combines the data from 50 or so WBs with a list of the files in Tab "List" and the data from each WB into Tab "Data"
I need to import the file name and write it into Column A of the Data tab. I know I will need to move the copy to column 2 and can do that. My problem is that the only code I see is how to fill data that is already in the source sheet such in the code below. My file name is not in the data sheets I am combining, so the code below does not work for that.
I am using a list of the files from the Tab "List"
Code from Live Lessons: Excel VBA and Macros with Mr Excel:
Thanks!
-SS
Bookmarks