Create a menu

Code:

function makeMenu()
{
  DocumentApp.getUi().createMenu("Top Menu Text").addItem("Sub menu function is toastMe", "toastMe").addToUi();
}

To make it load on startup, change function name to onOpen()

Comments

Popular posts from this blog

Popup message box

Create a side bar