【问题标题】:How to get a specific URL of Google Sheet automatically如何自动获取 Google Sheet 的特定 URL
【发布时间】:2016-08-10 05:36:12
【问题描述】:

我想在有特定编号时自动获取 Google Sheet 的 URL。在 A 行和作为先决条件提供的工作表名称。

如果 A 行有 15106 和工作表名称 --> See this

我想将它与数字显示在同一行的某处。

【问题讨论】:

    标签: google-sheets geturl


    【解决方案1】:

    您可以尝试编写一个onEdit() 函数,该函数在编辑工作表时获取 URL - 您可以告诉该函数根据需要查找特定范围和值。您必须使用电子表格 ID 自己组装 url,您可以使用 SpreadsheetApp.getActiveSpreadsheet().getId() 获得。有关 onEdit() 的更多信息,请参阅 Google 的 guide to triggers

    【讨论】:

      猜你喜欢
      • 2021-02-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-03-06
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多