VBA to create/rename new tab and update formula reference

Dcurtis7640

New Member
Joined
Oct 15, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hello - I don't know much VBA so I am not sure how difficult this is. I need help with creating/renaming a new tab and adding a formula on a summary tab to reference the new tab. The new tab will be a copy of a "template" but needs to be renamed (either by a popup dialog box or a cell reference.) There is a summary sheet that references the same cells in each tab - with the creation of the new tab, I'd like the formulas on the summary to be copied down to the next row but change the sheet references to the new tab (each row on the summary represents a project.)
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Hi Curtis

Have you tried recording your actions in macros? Try that first (the renaming of the sheet will not work the way you want, but we can alter that). When you read through it it will help you understand what bits relate to what you did.

Post the code you have created and that will aid the forum to better understand and help you.

I know this is not the answer you wanted, but it makes things easier for those who can help.
 
Upvote 0

Forum statistics

Threads
1,224,607
Messages
6,179,871
Members
452,948
Latest member
UsmanAli786

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