# Excel files that update Google Sheets automatically

[Español](https://pushbuild.com/es/free/scripts/excel-to-sheets-auto/) · [Português](https://pushbuild.com/pt/free/scripts/excel-to-sheets-auto/) · [Deutsch](https://pushbuild.com/de/free/scripts/excel-to-sheets-auto/) · [Français](https://pushbuild.com/fr/free/scripts/excel-to-sheets-auto/)

**Short answer:** Use a free Google Apps Script that imports every Excel file in a Google Drive folder into its own tab, and checks the folder again every morning. It runs in your own Google account; nothing is sent to us. Setup takes 5 steps: Put your Excel files in a Drive folder; Paste the script; Add the Drive API; Run it once; Turn on the morning check.

[More on our YouTube channel](https://www.youtube.com/@pushbuild)

## How to set it up

1. **Put your Excel files in a Drive folder.** Put your Excel files in a Google Drive folder. With Drive for desktop, that's just a folder on your computer. Copy the folder ID from the address bar.
2. **Paste the script.** In your Google Sheet, open **Extensions**, then **Apps Script**, and paste in the code below, with your folder ID in place of PASTE_FOLDER_ID.
3. **Add the Drive API.** Click the **+** next to **Services** and add the **Drive API**, so the script can convert Excel files.
4. **Run it once.** The first time it runs, Google asks for permission because the script works in your own account. Review it and allow it; that only happens once. Each Excel file becomes a tab with the same name.
5. **Turn on the morning check.** Run `installNightly` once. From then on the folder is checked every morning at 6, and only files that changed are imported again.

Setup, step by step: 5 steps, done in your own Google account.

[Want this set up for your business? Free written scope in 20 minutes](https://pushbuild.com/scope.html?topic=Set%20up%3A%20Excel%20files%20that%20update%20Google%20Sheets%20automatically)

## Get the script

### Download it free

We'll email you the script (`Code.gs`). It runs in your own Google account; nothing is sent to us.

### Ready-made copy

A Google Sheet with the tabs and the script already in place: click Make a copy and it works.

$19 one-time, emailed straight after payment.

[Buy the ready-made copy](https://buy.stripe.com/00w5kq0H51TM8g14Er7EQ0v)

### Have us install it for you

We set it up in your own Google account for you and check that it runs.

$49 one-time.

[Have us install it](https://buy.stripe.com/aFaeV01L9dCucwh0ob7EQ0f)

## Just one file?

Our [free Excel and Google Sheets tool](https://pushbuild.com/free/excel-to-google-sheets) converts a file in your browser.

## Questions

**What does this script do?**

It is a free Google Apps Script that imports every Excel file in a Google Drive folder into its own tab, and checks the folder again every morning.

**How do I set it up?**

In 5 steps: 1. Put your Excel files in a Drive folder; 2. Paste the script; 3. Add the Drive API; 4. Run it once; 5. Turn on the morning check. The full steps are on this page.

**Is it free, and does it send my data anywhere?**

It is free: enter your email on this page and we email you the script (`Code.gs`). It runs in your own Google account; nothing is sent to us.

**Can you install it for me?**

Yes. We set it up in your own Google account for you and check that it runs.

Want this connected to the rest of your tools? [Send us a short brief](https://pushbuild.com/services/google-apps-script.html#contact).

**Pushbuild** · Automate your business with Pushbuild: [pushbuild.com/contact](https://pushbuild.com/contact)

---
As of 2026-11-23. Source: https://pushbuild.com/free/scripts/excel-to-sheets-auto/
