Skip to content

Instantly share code, notes, and snippets.

@StMacLennan
Last active May 18, 2018 08:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save StMacLennan/80c770cdee6f63cff07682fc3da82614 to your computer and use it in GitHub Desktop.
Save StMacLennan/80c770cdee6f63cff07682fc3da82614 to your computer and use it in GitHub Desktop.
These are the two lines of code that you need to access Google Sheets data within the script section
var sheet = SpreadsheetApp.getActiveSheet();
var data = sheet.getDataRange().getValues();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment