如何通过表格API运行宏?

时间:2019-04-22 19:49:14

标签: google-apps-script google-sheets google-sheets-api google-sheets-macros

我知道您可以在Google表格中记录宏。好奇如何调用V4表格API?

我没有看到与运行宏https://developers.google.com/sheets/api/reference/rest/相关的任何内容

1 个答案:

答案 0 :(得分:0)

如@tanaike的评论中所述,此不能使用Sheets API完成。

但是,由于宏已绑定到Google Apps脚本功能,因此您可以通过使用Google Apps Script API运行受限功能来运行宏。

您可以在Google Apps Script API运行方法中找到here文档。