Share via


Shape.Connector Property

Excel Developer Reference

True if the specified shape is a connector. Read-only MsoTriState.

Syntax

expression.Connector

expression   An expression that returns a Shape object.

Example

This example deletes all connectors on myDocument.

Visual Basic for Applications
  Set myDocument = Worksheets(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