Shape.Connector property (PowerPoint)

Determines whether the specified shape is a connector. Read-only.

Syntax

expression.Connector

expression A variable that represents a Shape object.

Return value

MsoTriState

Remarks

The value of the Connector property can be one of these MsoTriState constants.

Constant Description
msoFalse The specified shape is not a connector.
msoTrue The specified shape is a connector.

Example

This example deletes all connectors on myDocument.

Set myDocument = ActivePresentation.Slides(1)

With myDocument.Shapes

    For i = .Count To 1 Step -1

        With .Item(i)

            If .Connector Then .Delete

        End With

    Next

End With

See also

Shape Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.