Hi,
Open your VBA Editor and click on Insert and choose Module.
In the new module window, paste the following code-
and then close the VBA editor.
then press Alt+F8 and select the "ConsolidateSheets" macro from the list and Run it.
This code will create a new sheet named "ConsolidatedSheet" and copy all data (excluding the header row) from each sheet (except the "ConsolidatedSheet" itself) in your workbook into the new sheet. The macro will also delete the first sheet (Sheet1) after the consolidation, but you can comment out or remove that part if you want to keep it.
Note- organize your data in a similar structure on each sheet for the code to work properly.
Best Regards.
Bookmarks