SheetCount Property
The number of sheets in the workbook.
Syntax
public int getSheetCount(); public void setSheetCount(int sheetCount);
Remarks
This property returns the number of sheets in the workbook.
This property is not available at design time.
Default Value
3