Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Garry...
See my reply to your other post! My suggestion fixes all unexpected behaviors associated with using controls on worksheets... The source sheet contained buttons "Button 2"....3,4,5,6 This worked Set shp2 = ws.Shapes.Item("Button 2") shp2.Name = "Button 1" But this failed Set shp2 = ws.Shapes.Item("Button 3") shp2.Name = "Button 2" I reloaded the object... still failed. That name persists somewhere but I couldn't find it. I dumped the names and "Button 2" was not in use. I finally mangled them but good, as in "ButtonDay1", "ButtonDay2" ..... 14 and everything renamed just fine. Thanks. FOR NOW!!! See what happens next time you hide/unhide the area... -- Garry Free usenet access at http://www.eternal-september.org Classic VB Users Regroup! comp.lang.basic.visual.misc microsoft.public.vb.general.discussion --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
When a sheet is copied, i want also that the Sub's whithin this sheet is copied to the new sheet | Excel Programming | |||
The column names (A,B,C, etc...) changed to numbers?????????? | Setting up and Configuration of Excel | |||
Duplicate names on copied worksheet | Links and Linking in Excel | |||
The columns names on my sheet have changed!! | Excel Discussion (Misc queries) | |||
names changed somehow | Excel Programming |