10-Day Google Apps Script Learning Guide

Day 1 – Introduction to Google Apps Script Goals: Topics: Code Example: Practice: Quiz (3 questions): Day 2 – Working with Google Sheets Goals: Topics: Code Example: Practice: Quiz (2 questions): Day 3 – Reading and Writing Ranges Goals: Code Example: Practice: Quiz (2 questions): Day 4 – Loops and Logic in Apps Script Goals: … Read more

Build a Simple Likert-Scale Quiz Web App with Google Apps Script + Sheets

This post walks through what the provided code does and how to set up the Google Sheet it expects. When you’re done, you’ll have a lightweight web app that: What the Code Does (at a glance) 1) doGet(e) — serve the web app 💡 Note about getActiveUser()This returns a non-empty email when your script runs … Read more

100 high impact copy pasteable Google Sheets Apps Script snippets

100 high-impact, copy-pasteable Google Sheets Apps Script snippets  How to use A. Setup & Quality-of-Life 1) Add a Custom Menu Creates a “Sheet Tools” menu with quick actions. function onOpen() {   SpreadsheetApp.getUi()     .createMenu(‘Sheet Tools’)     .addItem(‘Clear Selected Range’, ‘clearSelectedRange’)     .addItem(‘Timestamp Selected Cells’, ‘timestampSelection’)     .addToUi(); } function clearSelectedRange() {   const range = SpreadsheetApp.getActiveRange();   if (range) range.clearContent(); } … Read more

Send Custom Emails from Google Sheets Using Apps Script

📧 Send Custom Emails from Google Sheets Using Apps Script If you’ve ever needed to send personalized emails to multiple recipients—such as confirmation emails, reminders, or announcements—Google Apps Script offers a powerful way to automate this process using data from a Google Sheet. In this post, you’ll learn how to create a simple mail merge … Read more

Automatically Timestamp Data Entries with Google Apps Script

📊 Automatically Timestamp Data Entries with Google Apps Script When working with Google Sheets, it’s often helpful to automatically add timestamps whenever data is entered or updated. Whether you’re tracking form submissions, logging status updates, or managing tasks, having an automatic “last modified” or “created on” column can boost clarity and accountability. In this blog … Read more

10 Practical Google Apps Script Tips to Supercharge Your Workflow

Google Apps Script is a powerful tool that helps you automate and extend Google Workspace apps like Sheets, Docs, Gmail, and Drive. Whether you’re a beginner or a seasoned scripter, these tips will help you write cleaner, faster, and more reliable code. ✅ 1. Use getActive() Sparingly While SpreadsheetApp.getActiveSpreadsheet() and DocumentApp.getActiveDocument() are convenient, they rely … Read more

Fixing the Empty First Row When Creating a New Sheet in Google Apps Script

When using Google Apps Script to copy data from one sheet to a log sheet, a common issue arises: the new sheet ends up with an empty first row. This typically happens when the data insertion starts from getLastRow() + 1, even when the sheet is brand new and completely empty. Here’s how we fix … Read more

Copy Google Docs Heading Styles with Apps Script

Why This Post Exists If you’ve tried to clone heading styles (H1–H6, Title, Subtitle) from one Google Doc to another using Apps Script, you probably hit this wall: Invalid JSON payload received. Unknown name “updateNamedStyles”… Yep—updateNamedStyles isn’t supported for write operations in the Docs API (at least for now). You can read the named styles, … Read more

100 Common Google Docs Apps Script Examples

This document provides a comprehensive collection of Google Apps Script examples tailored for Google Docs. Each script is designed to automate common tasks, enhance productivity, and extend the functionality of your documents. 1. Basic Document Access & Creation These scripts cover the fundamental ways to access existing documents, create new ones, and get references to … Read more

Build with AI Silicon Valley Hackathon

It was an honour to speak and participate in the Build with AI event in San Francisco on May, 23rd 2025 https://gdg.community.dev/events/details/google-gdg-silicon-valley-presents-a-low-codeno-code-hackathon-for-building-bold-fast-and-smart