fires before cell format is changed
| row | number | row ID |
| column | number | column ID |
| format | string | new format of the cell |
| oldFormat | string | old format of the cell |
| page | string | the name of the sheet |
| boolean | returning false will prevent format changing |
$$("ssheet1").attachEvent("onBeforeFormatChange",function(row,col,format,oldF,page){
// handler code here
return true;
});
The event is not called for pasting copied data. Use onBeforePaste instead.