sets a format for a cell
row | number | the row id |
column | number | the column id |
name | string | the name of the format |
page | string | optional, the name of the sheet |
var name = $$("ssheet").addFormat("[green]0.0");
$$("ssheet").setFormatName(1, 1, name);
Default number formats have predefined names:
$$("ssheet").setFormatName(3, 1, "price");
$$("ssheet").setFormatName(5, 1, "date");