class SpreadsheetApp method .create()

SpreadsheetApp is the Apps Script service.

.create() is the method name you will see after a dot in your code.

What it does

Creates a new blank spreadsheet file in Drive.

Why it's used

  • Spin up a fresh report or export file at the end of a workflow.
  • Create a blank workbook for each client or project automatically.

Common errors

  • Forgetting parentheses on create. Write SpreadsheetApp.create(), not SpreadsheetApp.create or create by itself.
  • Skipping dots between chained calls. Each step needs a dot, like SpreadsheetApp.getActiveSpreadsheet().getSheetByName('Data').create().
  • Adding spaces where they do not belong. Write SpreadsheetApp.create(), not SpreadsheetApp .create(), SpreadsheetApp.create (), or SpreadsheetApp . create().
  • Wrong capitalization. Use SpreadsheetApp and create, not spreadsheetapp or create.

Explore

Related methods

  • .openById()

    Opens an existing spreadsheet using its Drive file ID.

  • .insertSheet()

    Adds a new sheet tab to the spreadsheet.

  • .activate()

    Makes a sheet or range the active selection.

  • .createMenu()

    Builds a custom menu in the spreadsheet toolbar.

  • .appendRow()

    Adds a new row of data at the bottom of the sheet.

Better Sheets tutorials

Automate Emails

Automate Emails

Set up automated email notifications based on Google Sheets data. Super ...
Automatically Copy Spreadsheet Tab to New File with Values Only, No Formulas

Automatically Copy Spreadsheet Tab to New File with Values Only, No Formulas

Automatically copy a spreadsheet tab to a whole new spreadsheet file, ge...
Automatic Calculations

Automatic Calculations

Create custom scripts to make your spreadsheets more like tools.
Built a Cookie Clicker Clone in Google Sheets

Built a Cookie Clicker Clone in Google Sheets

I built a clone of Cookie Clicker, live on YouTube. Watch the full 1 hou...
Create an Automated Task List

Create an Automated Task List

I've created simple automations to make an awesome automatic task list. ...
Create a new Spreadsheet from just a Name in a Sheet.

Create a new Spreadsheet from just a Name in a Sheet.

Create the Apps Script to create a new sheet from some data inside your ...
Curate Google Sheets Easily - Automatic Bookmarklet Maker

Curate Google Sheets Easily - Automatic Bookmarklet Maker

Curated sites, articles, and more web resources super easily into a Goog...
Different Kinds of Automation

Different Kinds of Automation

A brief description of types of automation. I go way more in depth in “M...
How to Create a Google Form Automatically

How to Create a Google Form Automatically

How to create a form programmatically using Google Apps Script. I show y...
How to Power Testimonials with Google Forms and Sheets

How to Power Testimonials with Google Forms and Sheets

I show you how I use a Google Form and a Google Sheet to power the testi...
I Created an Automatic Emailer

I Created an Automatic Emailer

While creating SheetOps, a new product, I came up with this idea of an a...
Self Destructing Google Sheet

Self Destructing Google Sheet

Create a sheet that can trash itself. It can delete itself instantly or ...
Visicalc 2023 Design Walkthrough

Visicalc 2023 Design Walkthrough

Design walkthrough of VisiCalc 2023. Watch this if you'd like to see the...
Visicalc 2023 Quick Walkthrough

Visicalc 2023 Quick Walkthrough

This is a fun template I created for April 1st. Take a quick walk throug...

Related blog posts

Written guides about SpreadsheetApp.create().

Browse the blog