Add an Automations Menu to Sheets #googlesheets
Learn how to add a custom automations menu to Google Sheets using Apps Script, including creating alert and toast messages for user interaction.
this looks like an absolutely normal Google sheet except for right next to this help button is an automations button this is a custom menu and I'm going to show you how to make this custom menu go to extensions app script we're creating a function on open we're using variable UI equals spreadsheet app.get UI and then do create menu we're adding two items to this which are down here we've created a popup model this is just using spreadsheet app.get ui. alert and I'll show you how that works automations it'll run the script and it'll show hello I'm an alert message click okay also see a toast message toast message over here in the bottom right corner I'm a toast message what that looks like is we just called it function toast but it's called spreadsheet app.get active. toast I'm a toast message and you put whatever message you want inside of these quotes So that you can say anything you want Spreadsheet Automation 101 Lesson 1: onOpen() Trigger - Custom Menu What Can You Automate in Google Sheets? Every single trigger available to Google Sheet users Custom Menu - 1 Function Button Styles
when someone clicks that button or whatever this toast function is called Visicalc 2023 Technical Walkthrough