Closed zopxy closed 4 years ago
var _script = ""; _script += "var oSheet = Api.GetActiveSheet();\r\n"; _script += "oSheet.AddDefName('def_xxxxx', '表格1!$A$8', false);\r\n"; _script += "var active = oSheet.GetActiveCell();\r\n"; _script += "var row = active.GetRow();\r\n"; _script += "var col = active.GetCol();\r\n"; _script += "oSheet.GetRangeByNumber(row, col).SetValue('{{测试}}');\r\n"; window.Asc.plugin.executeCommand("command", _script);
The name manager is displayed successfully. But reopen this file will not exist "def_xxxxx"。
version: 5.4.2-46 thanks
@flaminestone please take a look
@bopro, I can not to reproduce this issue, all works fine. Can you attach file before and after executing?
This issue was closed due to no response.
The name manager is displayed successfully. But reopen this file will not exist "def_xxxxx"。
version: 5.4.2-46 thanks