var instance = new GC.Spread.Sheets.Worksheet(name); var value; // Type: any // パラメータ var fnName; //タイプ: string value = instance.removeCustomName(fnName);
function removeCustomName( fnName : string ) : any;
パラメータ
- fnName
- カスタム名。
var instance = new GC.Spread.Sheets.Worksheet(name); var value; // Type: any // パラメータ var fnName; //タイプ: string value = instance.removeCustomName(fnName);
function removeCustomName( fnName : string ) : any;
// 次のサンプルコードは、removeCustomNameメソッドを使用します。 activeSheet.setValue(0, 0, 1); activeSheet.setValue(0, 1, 2); activeSheet.setValue(0, 2, 3); activeSheet.addCustomName("customName1","=12", 0, 0); activeSheet.addCustomName("customName2","Average(20,45)", 0, 0); activeSheet.addCustomName("customName3", "=$A$1:$C$1", 0, 0); activeSheet.setFormula(1, 0, "customName1"); activeSheet.setFormula(1, 1, "customName2"); activeSheet.setFormula(1, 2, "sum(customName3)"); //activeSheet.removeCustomName("customName3");
activeSheet.setValue(0, 0, 1); activeSheet.setValue(0, 1, 2); activeSheet.setValue(0, 2, 3); activeSheet.addCustomName("customName1","=12", 0, 0); activeSheet.addCustomName("customName2","Average(20,45)", 0, 0); activeSheet.addCustomName("customName3", "=$A$1:$C$1", 0, 0); activeSheet.setFormula(1, 0, "customName1"); activeSheet.setFormula(1, 1, "customName2"); activeSheet.setFormula(1, 2, "sum(customName3)"); //activeSheet.removeCustomName("customName3");