How To Use A Custom Menu To Execute Google Apps Scripts
Custom menus execute a custom functions or Google Apps Scripts. And they are the simplest method to do so. The custom menu has options for submenus and dividers to group menu items nicely. Inserting your menu is done easily using Google’s reserved trigger function called “onOpen”. And because of this, building and including your custom menu into the UI is simple and effective.