Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

Returns the number of Area objects contained in this Range.

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public int AreaCount{ get; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net
Public <p>Public ReadOnly Property AreaCount() As Integer</p>Integer
Example
Code Block
csharp
csharp
titleC#

int numAreas = rng.AreaCount;
Code Block
vb.net
vb.net
titlevb.net

Dim numAreas As Integer = rng.AreaCount