Connect Shapes via VBA

C

Christoph Dümmen

Two 'Dynamic Connector'-Shapes are connected to as 'Sheet'-Shape.
- 'Dynamic Connector'#1 is connected to the 'Sheet'-Shape
- 'Dynamic Connector'#2 is connected to the 'Dynamic Connector'#1

To extract the structure via VBA and to export it to a third party product,
I need Connectr #2 also connected to the 'Sheet'-Shape.
Is there a chance to break the Connector-to-Connector Link and bind
Connector #2 to the 'Sheet'-Shape?
This is probably not an out of the box solution. I appreciate your hints
:). For me it's worth to spend some time because I have to relink nearly
1.000 Connectors.
Thanks
Chris
 
A

Al Edlund

you might check out the v2003 sdk library, it has examples on how to
disconnect/connect connections.
al
 
C

Chris Roth [ Visio MVP ]

One tip that will help you wade through the help:

If you look at the connector, you examine the Connects object.
If you look at the box, you look at the FromConnects object for the shape.

Sort of two sides of the same thing, but you can see how you would trace
connections in a drawing: either look at all the connectors or look at all
the boxes...

--

Hope this helps,

Chris Roth
Visio MVP
 

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