GcSpread.Sheets Namespace > Spread type : addCustomName Method |
var instance = new GcSpread.Sheets.Spread(host, options); var value; // Type: any value = instance.addCustomName(name, formula, baseRow, baseCol);
activeSheet.setValue(0, 0, 1); activeSheet.setValue(0, 1, 2); activeSheet.setValue(0, 2, 3); spread.addCustomName("customName1","=12", 0, 0); activeSheet.setFormula(1, 0, "customName1"); //spread.clearCustomNames();