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

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Forum statistics

Threads
1,175,942
Messages
5,900,436
Members
434,832
Latest member
bornsteij78

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