Rename grouped control elements

ThomasHOL

New Member
Joined
Oct 15, 2014
Messages
31
I’m building a excel sheet where i’m using a template sheet that I copy to a new sheet whenever I need it. This works fine but I have one problem as I have created a group of control elements in order for me to maintain their relative location to each other. But when I copy the control it changes name from Group 1 to Group 2 etc and since I use the name in a macro its giving me quite a few problems.

Can anyone help me renaming the group so it don’t change when I copy the sheet.

http://www.screencast.com/t/PEqqKbmL example of the group
 
Last edited:

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
when you copy the template sheet like this
Code:
    With ThisWorkbook
        .Worksheets("template").Copy after:=.Worksheets(.Worksheets.Count)
    End With
all the names are unchanged.
 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,313
Members
452,634
Latest member
cpostell

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