M
Mac
I have a grouped shape, parts of which are connected to other objects; the
scenario - click (select) the grouped shape, run a macro code which looks for
the shapes connected to it and "highlights" them all. I have no problems with
the code and I get as far as the 'remote' (connected) shapes, the problem is
- how do I highlight (visibly distinguished like in selection) them? At first
I thought about the 'shape.CreateSelection' method but it does not work and
the compiler keeps giving me the 'invalid parameter' error; the only example
I found calls this method on the Page object, however the documentation says
Shape overrides i tas well. I do not understand this, maybe there is a better
way to do this? Any sample code?
scenario - click (select) the grouped shape, run a macro code which looks for
the shapes connected to it and "highlights" them all. I have no problems with
the code and I get as far as the 'remote' (connected) shapes, the problem is
- how do I highlight (visibly distinguished like in selection) them? At first
I thought about the 'shape.CreateSelection' method but it does not work and
the compiler keeps giving me the 'invalid parameter' error; the only example
I found calls this method on the Page object, however the documentation says
Shape overrides i tas well. I do not understand this, maybe there is a better
way to do this? Any sample code?