Reputation: 1778
i can access the current sheet using :
var SS = SpreadsheetApp.getActiveSheet();
But how to access other sheets from the same spreadsheet file ?
Upvotes: 0
Views: 65
Reputation: 11
var SS = SpreadsheetApp.openById("");
In between quotes, enter the ID of the Spreadsheet you want to use.
How to get the ID of a spreadsheet? The red arrow in this image points to the spreadsheet id.
Upvotes: 1
Reputation: 1987
There are different ways to get sheets in a spreadsheet:
Upvotes: 2