I am linking a Google Apps script in my Drive to a Spreadsheet, how do I go about finding the script by ID.
I have used this: var ss=SpreadsheetApp.openById(ssid);
to find the spreadsheet with the following: var ssid="xxx___xxx";
xxx___xxx
being the as https://docs.google.com/spreadsheets/d/**xxx___xxx**/edit#gid=0
.
How do I write the same components for a google apps script
something like as follows:
var ss=**GoogleAppsScript Document name**.openById(**the id name for a Google Apps Script**)
With the following: var **the id name for a Google Apps Script**="xxx___xxx";
?