Hello all, I hope you are doing well. I'd like some help in making a macro that copies specific data from multiple workbooks simultaneously and copies them into one sheet. So:
1. I have these cells:
All of which can change values. For example the jumbo can be ZJ2 or ZJ3. Then the user can click:
Which when hit currently creates a new sheet named Master.
What I would like for help is, for Excel to find the file name of each of the values below the headers (ie, in the picture above, find the files ZJ2.xlsx, F12.xlsx, 65S.xlsx, 00.xlsx, 332.xlsx, 460.xlsx, and A.xlsx, B.xlsx, and C.xlsx) and copy them in the new sheet named Master.
The headers would need to be copied and there would need to be some offset cells between each copy. For example, say ZJ2 and F12 were copied, it would look like:
And so on.
Any help would be greatly appreciated. Thank you and have a wonderful day.
1. I have these cells:
All of which can change values. For example the jumbo can be ZJ2 or ZJ3. Then the user can click:
Which when hit currently creates a new sheet named Master.
What I would like for help is, for Excel to find the file name of each of the values below the headers (ie, in the picture above, find the files ZJ2.xlsx, F12.xlsx, 65S.xlsx, 00.xlsx, 332.xlsx, 460.xlsx, and A.xlsx, B.xlsx, and C.xlsx) and copy them in the new sheet named Master.
The headers would need to be copied and there would need to be some offset cells between each copy. For example, say ZJ2 and F12 were copied, it would look like:
Any help would be greatly appreciated. Thank you and have a wonderful day.