Hello, I have seen variations of this question, but nothing that fits for me. Here's what I want.
I have a "master" file and about 50 source files I want to extract data from. (I just want to copy one column or range from the source files). I need a VBA that will open the source file "ABC" with one sheet named "1000" and paste in into the "master" file in a sheet with the same name. The next source file is "XYZ" with one sheet named "1200" and copy it in the master file on sheet "1200."
The trouble is, the source filenames will change from one month to the next., so I would need to reference a specific cell for the correct filename to use.
Hope that makes sense.
Thanks in advance.
I have a "master" file and about 50 source files I want to extract data from. (I just want to copy one column or range from the source files). I need a VBA that will open the source file "ABC" with one sheet named "1000" and paste in into the "master" file in a sheet with the same name. The next source file is "XYZ" with one sheet named "1200" and copy it in the master file on sheet "1200."
The trouble is, the source filenames will change from one month to the next., so I would need to reference a specific cell for the correct filename to use.
Hope that makes sense.
Thanks in advance.