Y
yosuke
Hi
I need to do some text manipulations on a number of manually created Visio
diagrams, and I've started exploring the VBA path.
I cannot figure out how I can access each of the component shapes that are
grouped.
I'm using the Page.Shapes property to get the shapes. If gives me, so to
say, the top-level shapes contained in a page; i.e., if a shape if grouped,
this just gives me the grouped shape, but not its member shapes.
I can tell if the shape is grouped or not by the Shape.ObjectType property
(visTypeGroup), but from there I can't figure out how to access the member
shapes of this grouped shape, as I do not see such property of a shape.
How do I do this? I'd like to avoid ungrouping, but if I have to, I'd have
to group things back to the way they were after I do the text manipulation.
Any feedback will be greatly appreciated.
TIA,
-Yosuke
I need to do some text manipulations on a number of manually created Visio
diagrams, and I've started exploring the VBA path.
I cannot figure out how I can access each of the component shapes that are
grouped.
I'm using the Page.Shapes property to get the shapes. If gives me, so to
say, the top-level shapes contained in a page; i.e., if a shape if grouped,
this just gives me the grouped shape, but not its member shapes.
I can tell if the shape is grouped or not by the Shape.ObjectType property
(visTypeGroup), but from there I can't figure out how to access the member
shapes of this grouped shape, as I do not see such property of a shape.
How do I do this? I'd like to avoid ungrouping, but if I have to, I'd have
to group things back to the way they were after I do the text manipulation.
Any feedback will be greatly appreciated.
TIA,
-Yosuke