Multiple workbooks with multiple sheets in each

flwoOrlando

New Member
Joined
Nov 18, 2015
Messages
4
I am trying to write/find VBA code that can consolidate multiple workbooks that have multiple sheets into 1 larger file.

Each file/workbook is called by the month it was generated in.
Each sheet (and there are 12) are called in numberical order: 1, 2, 3, 4.... 12.
Each sheet has different headers, but the headers are the same for each sheet.

I am able to borrow vbs code that takes all 12 files, and merges each tab into the workbook, so i end up with a sheet 1 and sheet 1(11), etc...
I want 1 file with 12 sheets, with all the data from the 12 sheet1's in 1 sheet.
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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