Skip to main content
THEQUIETENGINE

Can I show my class dates or availability on my website from an Excel file?

Yes, if you already run your dates in a spreadsheet. How a site can read an Excel file you keep editing, what it can and cannot show, and the mistakes that make a calendar quietly go out of date.

4 min read

In short: Yes. If you already keep your class dates, workshop spots or opening days in an Excel file, your website can read that file and show a calendar from it. You keep editing the spreadsheet the way you always have. The site catches up within minutes. It shows availability; it does not take bookings or payments by itself.

I built this for a cooking teacher who plans everything in one workbook on OneDrive. Asking her to learn a second tool just to update a website calendar was never going to work, so the website learned to read her workbook instead.

When this is the right tool

This suits you if one person already owns a spreadsheet of dates and updates it as part of the week. It is a poor fit if you need payments, waitlists or automatic confirmation emails. For that, use a booking tool and embed it. For a simple "here is what is open" calendar, a spreadsheet is often less work than anything else.

How it works

  1. A public tab. The workbook has one tab built only for the website: one row per date, with a status (open, closed, full) and a number of places. Everything private stays on other tabs.
  2. A one-time connection. The site is connected to the workbook once, using the exact share link for that file.
  3. The site reads, keeps a copy, and refreshes. It does not ask OneDrive on every visit. It keeps a recent copy and a scheduled task is set to refresh it every 15 minutes.
  4. The calendar draws itself. Open days show how many places are left. Closed and full days show as such.

On this project the site served 433 dates, and I checked four of them against the workbook by hand: two open days with the right number of places, and two full days. They matched.

Why the site keeps a copy

Reading a spreadsheet live is slow. An earlier version of this calendar read a Google Sheet through a script, and each answer took between 5 and 13 seconds, even when warm. Nobody waits 13 seconds for a calendar. Keeping a recent copy fixes that, and the cost is that a change can take a few minutes to show. For classes planned weeks ahead, that is fine.

The mistakes that matter

  • Finding the file by name. My first version searched OneDrive for the file by name and path. It once found a copy that did not contain the calendar tab, and the calendar broke. Using the exact share link removed the guesswork.
  • Putting private data on the public tab. Whatever the website reads can end up on a public page. Customer names and phone numbers never belong on that tab. A hidden tab can still be read by the site, but hiding it is a layout choice, not security.
  • Changing the column headers. The site expects specific headers. Rename one and the calendar stops. The code now checks the headers and refuses to guess.
  • Adding new dates carelessly. When new days are added in bulk, they go in as closed by default. A day should only open on purpose.

What I would do differently for you

I would start by asking whether the spreadsheet is really kept up to date. A calendar that reads a neglected file just displays old information more beautifully. If the habit exists, this works well. If it does not, fix the habit first.

If you want to set this up for your own classes, workshops or opening days, tell me how you track your dates today and I will say whether a spreadsheet is enough. The automation page shows the kind of back office work I take on.

Frequently asked questions

Can a website read an Excel file I keep on OneDrive?

Yes. The site connects to the file once, then reads a dedicated tab on a schedule. You keep editing in Excel as normal.

How fresh is the calendar?

A few minutes behind your last edit. In this build the refresh is set to every 15 minutes, with a recent copy served in between so the page stays fast.

Can it take bookings or payments?

Not by itself. It shows what is open and how many places are left. Taking payment needs a booking or checkout tool alongside it.

It is as safe as what you put on the public tab. Keep customer details on private tabs and only share the dates, statuses and place counts you are happy to show anyone.

Keep reading

New notes, once in a while.

A short email when something new is published. No funnels. Unsubscribe in one click.

Hand it over.

Tell me what is eating your week. A fixed quote follows.

Send a message