I
Ian Jones
Is there a way of referencing, in code, a Shape object
other than using its's string name?
Problem
Excel allows duplicate names:
If I have 5 shapes (rectangles, ovals, triangles, etc) and
name them each "Shape"..
and in code I..
ActiveSheet.Shapes("Shape").Select
....this will select the first Shape laid onto the Sheet
that was renamed "Shape"
Is there another way of referencing an individual shape?
I'm fishing for something like an array subscript.
I'm looking for a quick and efficient way of processing a
large number of shape objects.
i.e. If I could assign an array of shapes individual
names using an array subscript....
Cheers, Ian
other than using its's string name?
Problem
Excel allows duplicate names:
If I have 5 shapes (rectangles, ovals, triangles, etc) and
name them each "Shape"..
and in code I..
ActiveSheet.Shapes("Shape").Select
....this will select the first Shape laid onto the Sheet
that was renamed "Shape"
Is there another way of referencing an individual shape?
I'm fishing for something like an array subscript.
I'm looking for a quick and efficient way of processing a
large number of shape objects.
i.e. If I could assign an array of shapes individual
names using an array subscript....
Cheers, Ian