Create sheets from templates selected according to unique cell data

Veebee13

New Member
Joined
Aug 16, 2023
Messages
1
Office Version
  1. 2011
  2. 2010
  3. 2007
Platform
  1. Windows
Hello, Can anyone help in cranking out the VBA code

I have a "Master" sheet with 2 columns : "TYPE" and "NAME" and I have a command button (ActiveX Controls) created and named it "CREATE SHEET"
And, I have 2 other sheets namely "TEMPLATE A" & "TEMPLATE B".

What I would like to do is:
EXAMPLE:

TYPE NAME
A LP1
B DP1

So when I click, "CREATE SHEETS" button, I want Sheets to be created per name in column B i,e "LP1" to be created as per TEMPLATE A and Sheet "DP1" created as per TEMPLATE B.

If I enter a new TYPE and NAME in after creating sheets, it should only create the NEW data it detects and create only that sheet and not duplicate the sheets that is already created .

Seems a lil complex. But i appreciate any help please.
 

Attachments

  • Capture.PNG
    Capture.PNG
    7.6 KB · Views: 18

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Forum statistics

Threads
1,223,713
Messages
6,174,043
Members
452,542
Latest member
Bricklin

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