So I am fairly new with VBA but the following was something I was working on recently for another project, I just modified it to make it work for your needs.
Attachment 290904
There are two macros here. One lists all files in the folder in range C5. So type the address of your folders there then hit LIST FILES. This will populate the file names to be used for the batch processing. I prefer to keep things separated so when things break I can figure out how and why faster.
So once you have the files listed, Type YES in column F next to any files you want to extract data from. This is typically all of them for me, as I typically create a new folder to drop everything in to make sure this is as easy as possible.
Once you have selected yes for them all, hit Process Everything Flagged as Yes. This will loop through all of the files, pulling the data into the Processing tab, then pasting/appending it to right of the data in the DATA tab, like you wanted.
I created a few sample files to grab sample data from and it processed 100 files in 21 seconds so it should do 300 in about a minute.
NOTE: you MUST enable macros, you must have the Microsoft ActiveX Data Objects 2.9 Library checked as an available reference.
To do so use the following:
http://msdn.microsoft.com/en-us/libr.../gg264402.aspx
Bookmarks