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
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.