How to adding item menus with the java script of an loop's sub menus inside like this example “.addItem(”Go to This Sheet“, ”S“+i+”GoToS“)”?
问题 Hy, Everyone .. I have a question about creating the menu in GAS (Google Apps Scripts) to implement to a Google Spreadsheet without a three of the scripts which is has been take long long way and take my energy too and many many so many lines of the scripts like this I have created. This is the script. Here's the code : function Menu1() { var ui = s.getUi(), s = SpreadsheetApp, ss = s.getAcgtiveSpreadsheet(), sss = ss.getSheets(), madeMenu = ui.createMenu('Sheet Tools Just For an Example