Load sidebar onOpen google Sheets
问题 I am trying to load the sidebar when the page opens. I have important information that i was readily available for them to see. How can i load the sidebar when page is opened? I also could do onEdit if need be. function onOpen(){ var ui = SpreadsheetApp.getUi() .createAddonMenu() .addItem('Show sidebar', 'showSidebar') .addItem('Show dialog', 'showDialog') .addSeparator() .addToUi(); // Display sidebar if auto-sidebar is enabled showSidebar(); SpreadsheetApp.getUi().createMenu('Information')