Select all shapes that is connected to a Shape

K

Kannan

Is their any way in viso to choose all shapes that is connected to a Shape
by line connector
 
J

John Marshall, MVP

Through code.

You can walk the shapes collection to find the line connectors and then walk
the line connectors connection collections (there is a from and a to
collection) to find out who they are connected to.

If you want to select the shapes connected to a line, you can select a line
and run VBA code to change the selection to the shapes connected to the line
using the lines connection collections.

John... Visio MVP

Need stencils or ideas? http://www.mvps.org/visio/3rdparty.htm
Need VBA examples? http://www.mvps.org/visio/VBA.htm
Common Visio Questions http://www.mvps.org/visio/common_questions.htm
Visio Wishlist http://www.mvps.org/visio/wish_list.htm
 
K

Kannan

hi john, thanks for that ..

any way in viso .. with few clicks .. .. or can you post an macro for this
 

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