Skip to content

Instantly share code, notes, and snippets.

@johnvilsack
Created August 21, 2019 21:15
Show Gist options
  • Save johnvilsack/2e0bb0336b56fce076cd6c134cb549c4 to your computer and use it in GitHub Desktop.
Save johnvilsack/2e0bb0336b56fce076cd6c134cb549c4 to your computer and use it in GitHub Desktop.
GAS- Set Eval Row
// This is the code to edit
function evalRow(thisSheet, editedRow) {
// EDIT THE COLUMNS HERE TO CHANGE WHICH ROWS ARE IN ARRAY
var watchedRange = "A"+editedRow+":E"+editedRow;
var rowArray = thisSheet.getRange(watchedRange);
var rowValues = rowArray.getValues();
// @@ DEBUG
thisSheet.getRange('I14').setValue(watchedRange);
// @! DEBUG
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment