Skip to content

Instantly share code, notes, and snippets.

@ismaelc
Created February 2, 2021 05:06
Show Gist options
  • Select an option

  • Save ismaelc/1b9e51bb66cfc87215c70e2db39873c1 to your computer and use it in GitHub Desktop.

Select an option

Save ismaelc/1b9e51bb66cfc87215c70e2db39873c1 to your computer and use it in GitHub Desktop.
// Get selected range and data
let sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
let resolved = this.resolveRange(sheet)
let range = sheet.getRange(resolved)
var data = range.getValues();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment