I have a few hundred excel files with 'raw data'; each excel file has a unique filename.
I then have 1 'master' excel file that has all of the 'raw data' file names in Column A, and other data for each 'raw data' file in Column B, C, and D (these 3 columns are the physical location of where the 'raw data' from taken from...X,Y,Z cordinates).
I'd like to copy the matching row from the 'master' file and insert it into Row 1 of the corresponding 'raw data' file.
My plan is to:
-open ~100 'raw data' files and the 'master' file
-I can copy the filename of the 'ActiveSheet' and then bring the 'master' file to the front.
-**I then need to perform a search to match the 'filename' I copied, to Column A of the 'master' file, and then copy the row which matches the filename.**
-after that, I can just insert the copied row back into the 'raw data' file, save, close window, and loop the macro to do this function for all 99 'raw data' files remaining.
**I don't know how to write the search portion...any help?
thanks,
Peter
I then have 1 'master' excel file that has all of the 'raw data' file names in Column A, and other data for each 'raw data' file in Column B, C, and D (these 3 columns are the physical location of where the 'raw data' from taken from...X,Y,Z cordinates).
I'd like to copy the matching row from the 'master' file and insert it into Row 1 of the corresponding 'raw data' file.
My plan is to:
-open ~100 'raw data' files and the 'master' file
-I can copy the filename of the 'ActiveSheet' and then bring the 'master' file to the front.
-**I then need to perform a search to match the 'filename' I copied, to Column A of the 'master' file, and then copy the row which matches the filename.**
-after that, I can just insert the copied row back into the 'raw data' file, save, close window, and loop the macro to do this function for all 99 'raw data' files remaining.
**I don't know how to write the search portion...any help?
thanks,
Peter