VBA/Macro to Combine worksheets in a workbook into 1 sheet

Neavalmi

New Member
Joined
Jun 14, 2009
Messages
43
Hello Excel Experts:

I have search this forum before i made a new post since none of the threads is exactly working for my problem.

I have an excel file which contains costed bills of materials (BOM) of products, each worksheet is named by its SKU/model number.

My data has consistent/fixed columns from A to R
Data starts from row 41 (with headers) , 42 without headers. Some data are within rows 1 to 40 but these should be ignored.
Row numbers vary per worksheet

Appreciate your help to copy and paste/ combine all BOMs data into a separate spreadsheet in the same worksbook.
The headers for the second and succeeding worksheets need not to be copied.

also, the worksheet name must be copied in the last column "S" so i can know where is the data is coming from which worksheet.

The format of each worksheet should be carry over , not paste values. (rows are color coded by the levels in the BOm)

Thank you very much for your help guys.

Regards,
Nea
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Forum statistics

Threads
1,220,965
Messages
6,157,120
Members
451,399
Latest member
alchavar

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