Method: getActive()
Return Type: Spreadsheet
This returns the currently active spreadsheet, or null if there is none.
var currentSheet = SpreadsheetApp.getActive(); var url = currentSheet.getUrl(); Logger.log( url );
Topic Id: 5861
Example Ids: 20627
This site is not affiliated with any of the contributors.
Content on the page is taken from Stack Overflow Documentation
This site is NOT affiliated with Stack Overflow or any of the contributors. | Privacy Policy | Terms of Service