ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Duplicate Group Names (https://www.excelbanter.com/excel-programming/420510-duplicate-group-names.html)

egun

Duplicate Group Names
 
I was having some problems with VBA code that is supposed to delete certain
objects (most of which are groups of shapes) on my worksheet by name, and
then replace that object with a new one having the same name. It usually
worked, but once in a while I would get an error. I finally tracked the
problem down.

Even though you can't have two individual objects with the same name (e.g.
you can't have two rectangles both named "Rectangle27", if you duplicate a
group object, the duplicate group has the same name as the original, although
it's individual parts have new names.

Has anyone run into this before? Is there a reason why group names can be
non-unique in Excel, expecially on the same sheet?

Thanks,

Eric


egun

Duplicate Group Names
 
Yikes! Please ignore the typos!



All times are GMT +1. The time now is 11:47 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com