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.



expression An expression that returns a Shape object.


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
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>