Syntax
Parameters
NameDescriptionnamethe name of the menu to be createdsubMenusan array of JavaScript maps
Usually, you will want to call addMenu from the onOpen function so that the menu is automatically created when the Spreadsheet is loaded.
Usually, you will want to call addMenu from the onOpen function so that the menu is automatically created when the Spreadsheet is loaded.