I have two scripts I'm making:
- Shorten URLs within a Google Sheet
- Printing a single sheet and sending this as a PDF to a specified email
I have successfully created the first script and added it as a menu item in my Google Sheet, but notice that when I started working on the second script, the first menu item has disappeared!
Is there a way to have both scripts show as menu items please?
Best Answer
Rubén pointed out an example using
getUi
method, and here is a different one, usingaddMenu
method. "Custom" is the menu name that will appear in the navigation bars, and the names in the list below will appear under it, and call the corresponding functions.