Returns the number of worksheets in the workbook.

public int Count{ get; }
Public ReadOnly Property Count() As Integer
int numSheets = oWorksheets.Count;
Dim numSheets As Integer = oWorksheets.Count