SheetCount Property
The number of sheets in the workbook.
Syntax
[VB.NET] Public Property SheetCount As Integer
[C#] public int SheetCount {get; set;}
Remarks
This property returns the number of sheets in the workbook.
This property is not available at design time.
Default Value
3