copyToRange (and similar) execution at end of script?

前端 未结 1 1606
借酒劲吻你
借酒劲吻你 2020-12-12 04:43

I am working on a kinda large sheet which I would like to update on a regular basis (weekly) via Google Apps Scripts. Every week I need to add a new column at the \"end\" (l

相关标签:
1条回答
  • 2020-12-12 05:32

    Add SpreadsheetApp.flush() between copyCols() and getReports() in order to tell to the Google Apps Script engine to apply the changes made by the first before running the second.

    0 讨论(0)
提交回复
热议问题