Consolidate Data From Multiple Worksheets Into A Summary Worksheet in Excel
Consolidate Data From Multiple Worksheets Into A Summary Worksheet in Excel
http://www.rondebruin.nl/copy2.htm
In this workbook you can test the code from the page above
Because I also want to exclude the Information worksheet I use
If IsError(Application.Match(sh.Name, _
Array(DestSh.Name, "Information"), 0)) Then
Instead of: If sh.Name <> DestSh.Name Then that you see in the code on my website.
You can add more sheet to the Array if you want.
You can try each example with one of the buttons below or use Alt F8 to
select one of the macros in the macro list and press Run.
Copy column A from each sheet after the last column with data
When you run one of the examples it will first delete the summary worksheet
named RDBMergeSheet if it exists and then adds a new one to the workbook.
This ensures that the data is always up to date after you run the code.