Reference to shapes in a group

S

Sankalp

Hi,

I have shape that has been grouped with other shapes. When selecting the
group and ungrouping, how can I get all the shapes within the group?

For example, if I select 2 shapes 'a' and 'b' and group them, I get 'c'
which is a grouped shape. Now, when 'c' is selected and ungrouped, how can I
get references to the induvidual shapes - 'a' and 'b'?

Thanks
Sankalp
 
J

junethesecond

With VBA? , If so, for grouped shape "c",
Dim objShape As Shape
For Each objShape In ActivePage.Shapes("c").Shapes
Debug.Print objShape.Name
Next
 
Top