G
Gary McGill
Hi,
I'm using PPT 2003 SP1 and am trying to figure out how to navigate "up" the
group hierarchy in VBA when I have a group that includes another group.
For example, suppose I take a text box and group it with an autoshape. Now
suppose I take that group and group it with another autoshape, so that (to
my mind, anyway), I have a 2-level hierarchy as follows:
grandparent group
autoshape
parent group
autoshape
textbox
If I get a reference to the textbox shape, then I can navigate to the
"parent group" using the ParentGroup method.
I'd expect to be able to do the same to get to the "grandparent group", and
certainly the Child property of the "parent group" is True, which suggests
that I should. However, when I try to access the ParentGroup property of the
"parent group", PowerPoint crashes. :-(
Is there an alternative way to do this?
Gary
I'm using PPT 2003 SP1 and am trying to figure out how to navigate "up" the
group hierarchy in VBA when I have a group that includes another group.
For example, suppose I take a text box and group it with an autoshape. Now
suppose I take that group and group it with another autoshape, so that (to
my mind, anyway), I have a 2-level hierarchy as follows:
grandparent group
autoshape
parent group
autoshape
textbox
If I get a reference to the textbox shape, then I can navigate to the
"parent group" using the ParentGroup method.
I'd expect to be able to do the same to get to the "grandparent group", and
certainly the Child property of the "parent group" is True, which suggests
that I should. However, when I try to access the ParentGroup property of the
"parent group", PowerPoint crashes. :-(
Is there an alternative way to do this?
Gary