A
Aussie Susan
I need to manipulate a shape, basically by converting it to a group and then
adding the sub-shapes. However, if the top level shape is already a group,
then I need to do some clean-up operations first.
How do I tell is the shape is already a group fom within VBA (other than
using the ON ERROR mechanism around the 'ConvertToGroup' method)?
VISIO itself seems to be able to tell if a shape is a group or not in that
it changes the icon in the 'Drawing Explorer' window, and includes/excludes
the 'Group Properties' shapesheet section. However, the
VisSectionObject/VisRowGroup row seems to exist whether or not the shape is a
group. I'm sure that there must be a proper way of doing this!
Thanks
Susan
adding the sub-shapes. However, if the top level shape is already a group,
then I need to do some clean-up operations first.
How do I tell is the shape is already a group fom within VBA (other than
using the ON ERROR mechanism around the 'ConvertToGroup' method)?
VISIO itself seems to be able to tell if a shape is a group or not in that
it changes the icon in the 'Drawing Explorer' window, and includes/excludes
the 'Group Properties' shapesheet section. However, the
VisSectionObject/VisRowGroup row seems to exist whether or not the shape is a
group. I'm sure that there must be a proper way of doing this!
Thanks
Susan