打开时刷新文件名查询

时间:2018-10-08 18:03:50

标签: google-sheets

我在使用Google表格时遇到问题,我有以下代码,我想找到一种方法来使此功能在Google表格打开时重新运行/重新计算。我在这里找到了编辑功能,但我不希望它破坏撤消功能。

function fileName() {
  return SpreadsheetApp.getActiveSpreadsheet().getName();
}

0 个答案:

没有答案