Page tree

Versions Compared

Key

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

Description

Excerpt

Returns the number of worksheets in the workbook.

Signature
C#
C#

 public int Count{ get; }
Signature
vb.net
vb.net

Public ReadOnly Property Count() As Integer
Example
Code Block
csharp
csharp
titleC#

int numSheets = oWorksheets.Count;
Code Block
vb.net
vb.net
titlevb.net

Dim numSheets As Integer = oWorksheets.Count