ConnectorFormat Members (Excel)

Contains properties and methods that apply to connectors.

Methods

Name

Description

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. If the beginning of the connector isn’t already positioned at the specified connecting site, this method moves the beginning of the connector to the connecting site and adjusts the size and position of the connector. Use the EndConnect method to attach the end of the connector to a shape.

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. Use the EndDisconnect method to detach the end of the connector from a shape.

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. If the end of the connector isn’t already positioned at the specified connecting site, this method moves the end of the connector to the connecting site and adjusts the size and position of the connector. Use the BeginConnect method to attach the beginning of the connector to a shape.

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. Use the BeginDisconnect method to detach the beginning of the connector from a shape.

Properties

Name

Description

Application

When used without an object qualifier, this property returns an Application object that represents the Microsoft Excel application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object). Read-only.

BeginConnected

True if the beginning of the specified connector is connected to a shape. Read-only MsoTriState.

BeginConnectedShape

Returns a Shape object that represents the shape that the beginning of the specified connector is attached to. Read-only.

BeginConnectionSite

Returns an integer that specifies the connection site that the beginning of a connector is connected to. Read-only Long.

Creator

Returns a 32-bit integer that indicates the application in which this object was created. Read-only Long.

EndConnected

msoTrue if the end of the specified connector is connected to a shape. Read-only MsoTriState.

EndConnectedShape

Returns a Shape object that represents the shape that the end of the specified connector is attached to. Read-only.

EndConnectionSite

Returns an integer that specifies the connection site that the end of a connector is connected to. Read-only Long.

Parent

Returns the parent object for the specified object. Read-only.

Type

Returns or sets a MsoConnectorType value that represents the connector format type.