Class ConnectorFormat (Excel VBA)

Contains properties and methods that apply to connectors.

Class Shape gives access to class ConnectorFormat.

Methods

BeginConnect - Attaches the beginning of the specified connector to a specified shape. If there's already a connection between the beginning of the connector and another shape, that connection is broken.

BeginDisconnect - 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.

EndConnect - Attaches the end of the specified connector to a specified shape. If there's already a connection between the end of the connector and another shape, that connection is broken.

EndDisconnect - Detaches the end of the specified connector from the shape it's attached to. This method doesn't alter the size or position of the connector; the end of the connector remains positioned at a connection site but is no longer connected.

Properties

BeginConnected true if the beginning of the specified connector is connected to a shape.

BeginConnectedShape returns a Shape object that represents the shape that the beginning of the specified connector is attached to.

BeginConnectionSite returns an integer that specifies the connection site that the beginning of a connector is connected to.

EndConnected msoTrue if the end of the specified connector is connected to a shape.

EndConnectedShape returns a Shape object that represents the shape that the end of the specified connector is attached to.

EndConnectionSite returns an integer that specifies the connection site that the end of a connector is connected to.

Type returns or sets an MsoConnectorType value that represents the connector format type.

Shape - Represents an object in the drawing layer, such as an AutoShape, freeform, OLE object, or picture.