consolidating data from multiple workbooks

excelusercr

New Member
Joined
Jan 22, 2007
Messages
4
I currently have to consolidate data from multiple workbooks into a single file. The format of the data is the same and each workbook has the data already selected. Is there a way to automate this using a macro?
I am envisioning the following...
1) Summaryworkbook.summaryWorksheet - this would contain the consolidated data
2) Workbook1.Worksheet1 - worksheet1 would have the data needing to be copied already selected. The macro would need to open this file and then copy the selected data from worksheet1 and paste it to Summaryworkbook.summaryWorksheet, then close this workbook
3) Workbook2.Worksheet2 - worksheet2 would have the data needing to be copied already selected. The macro would need to open this file and then copy the selected data from worksheet1 and paste it to Summaryworkbook.summaryWorksheet, then close this workbook
4) Workbook3.Worksheet3 - worksheet3 would have the data needing to be copied already selected. The macro would need to open this file and then copy the selected data from worksheet1 and paste it to Summaryworkbook.summaryWorksheet, then close this workbook

Any help would be greatly appreciated
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
http://www.mrexcel.com/forum/showthread.php?t=470501
 
Upvote 0

Forum statistics

Threads
1,213,497
Messages
6,113,999
Members
448,541
Latest member
iparraguirre89

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top