GC.Spread.Sheets 名前空間 > Workbook タイプ : addCustomName メソッド |
Javascript (Usage) | |
---|---|
var instance = new GC.Spread.Sheets.Workbook(host); var value; // Type: any value = instance.addCustomName(name, formula, baseRow, baseCol, comment); |
Javascript (Specification) | |
---|---|
function addCustomName( name : string, formula : string, baseRow : number, baseCol : number, comment : string ) : any; |
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();