I have created two Google SpreadSheet Add-Ons which is adding new options in the Add-On menu.
From the above print-screen we can see that both Add-Ons have been published, but when I want to use them from a Google SpreadSheet, I don't get the options developed by me, but only the "Help" option:
The code of this Add-On is pretty simple, as currently I am trying to understand and learn how Google Add-ons work:
function onOpen() {
var ui = SpreadsheetApp.getUi();
ui.createAddonMenu().addItem('HelloWorld', 'HelloWorld').addToUi();
}
function HelloWorld()
{
Browser.msgBox('Hello world!!');
}
Am I doing something wrong ?
The option appeared in the Add-On menu, after a few minutes. This issue could be closed.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.