Connector Property

Microsoft Publisher Visual Basic

value indicating whether the specified shape is a connector. Read-only.

MsoTriState can be one of these MsoTriState constants.
msoCTrue Not used with this property.
msoFalse The shape is not a connector.
msoTriStateMixed Return value indicating a combination of msoTrue and msoFalse for the specified shape range.
msoTriStateToggle Not used with this property.
msoTrue The shape is a connector.

expression.Connector

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

This example deletes all connectors on page one of the active publication.

Dim i As Integer

With ActiveDocument.Pages(1).Shapes
    For i = .Count To 1 Step -1
        With .Item(i)
            If .Connector Then .Delete
        End With
    Next
End With