Spread.Sheets Documentation
getSheetCount Method
GC.Spread.Sheets Namespace > Workbook type : getSheetCount Method
Gets the number of sheets.
Syntax
var instance = new GC.Spread.Sheets.Workbook(host);
var value; // Type: number
value = instance.getSheetCount();
function getSheetCount() : number;

Return Value

The number of sheets.
Example
This example uses the getSheetCount method.
var index = spread.getSheetCount();
alert(index);
See Also

Reference

Workbook type