function logging(){ let activeSheet = SpreadsheetApp.getActiveSheet(); Logger.log(activeSheet.getName()); }