route217
asked on
Tricky copy and paste macro from multiple workbooks
Hi Experts
Need a macro that opens all the workbooks in the c: drive file paths c:\documents and setting\test
One by one and copies the data in worksheet "cm" and and pastes the data onto a master workbook same file path called "Master Template" and into worksheet "cm1". So the data is stacked one under Neath the other...
Workbooks in c: drive file paths c:\documents and setting\test are:-
1. Customer.xls
2. Supplier.xls
3. Temporary.xls
4. Resource.xls
Need a macro that opens all the workbooks in the c: drive file paths c:\documents and setting\test
One by one and copies the data in worksheet "cm" and and pastes the data onto a master workbook same file path called "Master Template" and into worksheet "cm1". So the data is stacked one under Neath the other...
Workbooks in c: drive file paths c:\documents and setting\test are:-
1. Customer.xls
2. Supplier.xls
3. Temporary.xls
4. Resource.xls
ASKER
Immoire
Thanks for the feedback... Are saying run the macro from the master file?
Thanks for the feedback... Are saying run the macro from the master file?
ASKER
Ps last question
Immoire this macro will open up all the workbook in the specified c: drive one by one and paste the data into the master file one after the other...
Immoire this macro will open up all the workbook in the specified c: drive one by one and paste the data into the master file one after the other...
It will open the master workbook, then one by one open the rest of the xls files in the folder, copy the data from sheet 'cm' to sheet 'cm1' in the master workbook.
If you want to run it from the master workbook it can easily be changed.
If you want to run it from the master workbook it can easily be changed.
ASKER
That would be great if it could be changed to run from master file ... And is the data pasted into master file one after another I.e each file in turn??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi imnorie
Can you kindly shows some light on
https://www.experts-exchange.com/questions/27995923/Covert-image-to-jpg-currently-HTML-format.html
Can you kindly shows some light on
https://www.experts-exchange.com/questions/27995923/Covert-image-to-jpg-currently-HTML-format.html
Open in new window