Selection.ConnectShapes Method
Visio Automation Reference |
Connects two or more selected shapes with a dynamic connector. ReturnsNothing.
Version Information
Version Added: Visio 2003
Syntax
expression.ConnectShapes
expression A variable that represents a Selection object.
Return Value
Nothing
Remarks
Calling the ConnectShapes method is equivalent to clicking Connect Shapes on the Shape menu.
Example
This Microsoft Visual Basic for Applications (VBA) macro shows how to use the ConnectShapes method to connect two shapes.
Visual Basic for Applications |
---|
|
See Also