ShapeRange.Connector Property (Excel)

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

Syntax

expression. Connector

expression An expression that returns a ShapeRange object.

Example

This example deletes all connectors on myDocument.

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

ShapeRange Object