Custom menu
onOpen adds a Better Sheets menu with Export CSV and Email Report actions your team clicks instead of remembering shortcuts.
Apps Script is Google's JavaScript platform for automating Sheets and other Workspace apps. From a spreadsheet you can open Extensions > Apps Script to write code that reads cells, sends email, builds menus, and runs on triggers. It goes beyond formulas when you need custom workflows tied to your file.
Use Apps Script when formulas, filters, and pivot tables cannot deliver menus, scheduled jobs, external APIs, or multi-step approvals inside one workbook.
Stay in the grid when QUERY, ARRAYFORMULA, or built-in features solve the task. Scripting adds permissions, quotas, and maintenance every teammate must trust.
Open Extensions > Apps Script from the spreadsheet to create a bound script project.
Write functions in JavaScript using SpreadsheetApp to read and write ranges.
Run once from the editor or bind to simple triggers like onOpen and onEdit.
Add installable triggers for schedules, form submits, or broader permissions.
Authorize the script the first time it touches Gmail, UrlFetchApp, or other services.
Use the Apps Script hub for deeper tutorials, generators, and deployment patterns.
onOpen adds a Better Sheets menu with Export CSV and Email Report actions your team clicks instead of remembering shortcuts.
onEdit writes a last-updated timestamp in column F when someone changes status in column D.
A time-driven trigger reads new rows each Monday and sends a MailApp summary to managers.
Build this without starting from a blank cell
Use a Better Sheets tool for Google Apps Script, then watch a walkthrough when you want the full pattern.
Watch how Google Apps Script works
Guides that explain Google Apps Script in more depth.
Nothing is better than Google Sheets. You just need to learn more about the unlimited power of Google Sheets. Functions, Formulas, Apps Script and more.
Read post →Learning Google Sheets coding and Apps Script can have several outcomes and results. Become more productive, more of an asset to your company. No matter if you work there or if you own the company.
Read post →4 Ways Google Sheets Can Help You Start Up Create a list Curate Links Track Something Write Code
Read post →The Script Editor is the Apps Script workspace inside your spreadsheet where you write JavaScript that talks to Sheets, Gmail, and other Google services. You open it from Extensions > Apps Script. Every function you save can be run manually, bound to a trigger, or linked from a custom menu.
Read guide →Triggers tell Apps Script when to run a function: on edit, on open, on a schedule, or when a form is submitted. Simple triggers use reserved names like onEdit. Installable triggers are created in the Apps Script Triggers page and can do more, including running as a specific user or on a timer.
Read guide →Automation means work happens without repeating the same clicks every day: imports update, emails send, rows move, and dashboards refresh. In Sheets, automation usually stacks built-in features, Apps Script, and sometimes the Sheets API or add-ons. Start with the lightest tool that still solves the job.
Read guide →SpreadsheetApp is the main Apps Script service for talking to Google Sheets. It lets your script open the active spreadsheet, grab sheets by name, read cells, write values, and change formatting. Almost every Sheets automation starts with SpreadsheetApp.getActiveSpreadsheet().
Read guide →Done reading about Google Apps Script?
Membership unlocks 636+ tutorials, unlimited generators, and every template. Practical lessons. Zero fluff.
Need this once
Jump to a free tool or a single tutorial for this topic.
Learning Sheets for real
Unlock the full library, generators, and templates with membership.