Duplicate Group Names

E

egun

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top