Copy Multiple Worksheets into a new Workbook

Daio

New Member
Joined
Sep 27, 2006
Messages
1
Hi there I would be greatful for somehelp in creating a macro to do the following:
I will have a workbook with many worksheets, the front worksheet will contain a table with no set number of rows and no set number of columns. In column A will be a list of e-mail addresses, in column B will be a new file name set and then in column C onwards it will refer to worksheet names in the current workbook, e.g. sheet2, sheet3 etc. When the macro is run it will need to look down column A to find entries where the @ sign is present, if the @ sign is present the sheets that are listed in the same row in columns C onwards will need to be copied to a new workbook and saved according to the name in column B. The new workbook/s will all need to be saved in the same folder.

Thanks
Dave
 

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,140,937
Messages
5,703,260
Members
421,289
Latest member
fbohlandt

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
Top