Spread.Sheets Documentation
getSheetIndex Method
GC.Spread.Sheets Namespace > Workbook type : getSheetIndex Method
The sheet name.
Gets the sheet index with the specified name.
Syntax
var instance = new GC.Spread.Sheets.Workbook(host);
var value; // Type: number
value = instance.getSheetIndex(name);
function getSheetIndex( 
   name : string
) : number;

Parameters

name
The sheet name.

Return Value

The sheet index.
Example
This example uses the getSheetIndex method.
var sheet1 = spread.getSheetIndex("Sheet2");
alert(sheet1);
See Also

Reference

Workbook type