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

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
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,213,536
Messages
6,114,202
Members
448,554
Latest member
Gleisner2

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