Highlighting a shape...how?

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?
 
J

JuneTheSecond

Select method might be one you wish.
.......
ActiveWindow.select YourShape1, visSelect
....
ActiveWindow.select YourShape2, visSelect
......
Set yourSelection = ActiveWindow.Selection
 

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