Auto Generating Copy Worksheet

kennies

New Member
Joined
May 17, 2011
Messages
1
Hi Everyone,

I'm struggling to come up with a vba macro that does the following. Any help is appreciated.

I want the macro to auto generate new worksheets and copy a template onto that worksheet.


The "main" worksheet will have Column 1 and consists of part numbers, column 2 will consist of type (it will be scroll down with limited selections).

I will generate template worksheets in the same workbook. (template1,template2,template3....)

On the click of a button, it will auto generate worksheets based off column 1 (a worksheet per part number and rename that worksheet to that part number) and will either copy template1, template2,template3... depending on what is selected in column 2.

Thank you for the help. I hope it is not too complex or hard.

My OS is XP with office 2007.
 
Last edited:

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Forum statistics

Threads
1,224,536
Messages
6,179,402
Members
452,909
Latest member
VickiS

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