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
 

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