Insert new worksheet based on user entry in master worksheet and pre-filled with labels and formula, carry totals to master sheet.

mkseto

New Member
Joined
Aug 14, 2018
Messages
38
This is probably not possible so I'm probably looking for a miracle.
I'm hoping to create a workbook whereby the 1st sheet ("Summary") will have a header row followed by data rows below. The "miracle" that I'm looking for is a macro to accomplish the following:
As user enters a new data row and clicks a button, it will trigger the marco to:
1) insert a new sheet and name it based on what user entered is "B" and "C" separated by a space. Example, user entered "12345" in "B" and "9999999" in "C", the new sheet will be named "12345 9999999".
2) the new sheet will be pre-populated with some labels and formula (sort of like a template) per sample in attachment #1. Note that grey cells with red fonts require labels and formula to be filled in by the macro
3) each of the inserted sheet will have a total amount (referred as "column total" in the sample attachment), which needs to be updated in the "Summary" sheet (last cell in the data row entered by the user. Attachment #2 is a sample of the "Summary" sheet.

Account.PNG


Summary.PNG
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Forum statistics

Threads
1,214,416
Messages
6,119,384
Members
448,889
Latest member
TS_711

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