Automating Paragraph Formatting in Google Docs with Google Apps Script

Google Apps Script is a powerful tool for automating tasks across Google Workspace applications. In this blog post, we will walk through how to use Google Apps Script to update specific paragraphs in a Google Doc. We will cover two functionalities: We’ll also include an image to enhance the visual appeal of this post. Step-by-Step … Read more

10 Lesser-Known JavaScript Quirks

JavaScript is a powerful and versatile language, but it comes with its own set of quirks and oddities. Understanding these can help you write better code and debug issues more effectively. Here are ten lesser-known JavaScript quirks, complete with detailed examples. 1. Type Coercion in Comparisons JavaScript performs type coercion when comparing values with == … Read more

How to Print a Document or Its Parts Using Google Apps Script

Printing documents programmatically can be very useful in automating workflows, especially when dealing with repetitive tasks. Google Apps Script provides a way to print documents from Google Docs, either as a whole or selectively. In this blog post, I’ll guide you through creating a Google Apps Script that prints an entire document or specific parts … Read more

How to Connect Data from Excel Sheet to Google Sheet Using Google Apps Script

Connecting data from an Excel sheet to a Google Sheet can streamline your workflow, especially if you are transitioning from Microsoft Excel to Google Sheets. Google Apps Script provides a powerful way to automate this process. In this blog post, I’ll guide you through the steps to connect data from an Excel sheet to a … Read more

Sending an HTML Email Using Google Apps Script

In this blog post, I’ll show you how to send an HTML email using Google Apps Script and an HTML file as the source. This is a powerful way to enhance your emails with custom styles and layouts. Prerequisites Before we start, ensure you have: Step-by-Step Guide Step 1: Create an HTML file First, you … Read more

Apps Script Lesson Integrating with Other Google Services

Integrating with Other Google Services Finally, explore how Google Apps Script interacts with other Google services like Drive, Calendar, and Google Forms. This chapter provides practical examples of scripts that integrate multiple services, enhancing the functionality of your Sheets by connecting them with the broader ecosystem of Google applications. Google Apps Script is not limited … Read more

First Chapters Book Google Apps Script Sheets Custom Functions 150 Apps Script Code Examples for Sheets

Book Source Code on GitHub https://github.com/lsvekis/Sheets-Custom-Formulas-Book Get the Best Selling Book Free for the next 4 days US https://www.amazon.com/dp/B0D59Q4J1T CAN https://www.amazon.ca/dp/B0D59Q4J1T 1 : Mastering Basic Custom Functions In this opening chapter, we introduce the foundational concepts of Google Apps Script for custom functions in Google Sheets. Begin by learning how to create simple functions that … Read more

Resetting H1 Font Size to Default in Google Docs Using Google Apps Script

If you’ve adjusted the font size of your H1 headings in Google Docs and want to reset them back to the default size, Google Apps Script offers a simple solution to automate this process. In this blog post, we’ll guide you through creating a script to reset the font size of all H1 headings to … Read more

How to Remove All Blank Lines from a Google Doc Using Google Apps Script

How to Remove All Blank Lines from a Google Doc Using Google Apps Script Google Docs is a versatile tool, but sometimes it requires a bit of customization to fit your needs perfectly. If you’ve ever faced the tedious task of removing all blank lines from a lengthy document, you’re in luck. With Google Apps … Read more

Resizing and Centering Images in Google Docs with Google Apps Script

In today’s blog post, we’ll explore a useful Google Apps Script function that helps automate a common task: resizing and centering images in a Google Doc. This script ensures that all images are resized to 75% of the page width and are centered for a cleaner, more professional look. The Script Below is the complete … Read more