onSheetAdd

fires when a new sheet is added

void onSheetAdd(string name){ ... };

Parameters

namestringthe name of the sheet

Example

$$("ssheet").attachEvent("onSheetAdd", function(name){
    // some code here
});

See also
Back to top