Skip to main content

Shape.Connector property

Table of contents
  1. Syntax
  2. Example

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.

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

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>