Export (0) Print
Expand All

Shape.Connector Property

Office 2007
Returns an MsoTriState value indicating whether the specified shape is a connector. Read-only.

Syntax

expression.Connector

expression   A variable that represents a Shape object.

Remarks

The Connector property value can be one of the MsoTriState constants declared in the Microsoft Office type library and shown in the following table.

ConstantDescription
msoFalseThe shape is not a connector.
msoTriStateMixedReturn value indicating a combination of msoTrue and msoFalse for the specified shape.
msoTrueThe shape is a connector.

Example

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

Visual Basic for Applications
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

See Also


Community Additions

ADD
Show:
© 2014 Microsoft