SheetIndex Property
The current sheet index.
Syntax
public int getSheetIndex(); public void setSheetIndex(int sheetIndex);
Remarks
This property specifies the current sheet index. Set this property to select a sheet. Valid values are from 0 to SheetCount - 1. After setting this property SheetName and SheetVisible will be updated.
This property is not available at design time.
Default Value
0