For me, they are completely interchangeable. Both return a spreadsheet object and have access to the methods available in the Class Table . Feel free to use what you prefer.
The same results:
Logger.log("getActiveSpreadSheet() "+SpreadsheetApp.getActiveSpreadsheet().getUrl()); Logger.log("getActive() "+ SpreadsheetApp.getActive().getUrl() );
source share