ConnectorFormat.BeginDisconnect Method
Excel Developer Reference |
Detaches the beginning of the specified connector from the shape it’s attached to. This method doesn’t alter the size or position of the connector: the beginning of the connector remains positioned at a connection site but is no longer connected. Use the EndDisconnect method to detach the end of the connector from a shape.
Syntax
expression.BeginDisconnect
expression A variable that represents a ConnectorFormat object.
Example
This example adds two rectangles to myDocument
, attaches them with a connector, automatically reroutes the connector along the shortest path, and then detaches the connector from the rectangles.
Visual Basic for Applications |
---|
|
See Also