The setActiveSheet
function is used to set a sheet as the active sheet.
var excel = new Excel("test.xlsx");
excel.createSheet("newSheet").setActiveSheet("newSheet");
Calling | Returning |
---|---|
excel. setActiveSheet ( sheetName ) |
Excel |
Parameters | Type | Description |
---|---|---|
sheetName |
String |
The sheet name. |