Created
December 10, 2018 17:32
-
-
Save ndthanh/fe49fdae0648201efa21809875fa76ef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//2. convert all formulas to values in every sheet of the Google Sheet | |
function formulasToValuesGlobal() { | |
var sheets = SpreadsheetApp.getActiveSpreadsheet().getSheets(); | |
sheets.forEach(function(sheet) { | |
var range = sheet.getDataRange(); | |
range.copyValuesToRange(sheet, 1, range.getLastColumn(), 1, range.getLastRow()); | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment