SetVisible
function SetVisible(isVisible: boolean = null): void
Description
Sets the state of sheet visibility.
Parameters
- isVisible
boolean
null Specifies if the sheet is visible or not.
Returns
void
Try It
var oWorksheet = Api.GetActiveSheet();
oWorksheet.SetVisible(true);
oWorksheet.GetRange("A1").SetValue("The current worksheet is visible.");