Spread.Sheets Documentation
getSheetFromName Method
The sheet name.
Gets the sheet with the specified name.
Syntax
var instance = new GC.Spread.Sheets.Workbook(host);
var value; // Type: Worksheet
value = instance.getSheetFromName(name);
function getSheetFromName( 
   name : string
) : Worksheet;

Parameters

name
The sheet name.

Return Value

The sheet with the specified name.
Example
This example gets the sheet and sets the cell forecolor.
var sheet1 = spread.getSheetFromName("Sheet2");
sheet1.getCell(0,0).value("A1").foreColor("red");
See Also

Reference

Workbook type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.