Apps Script All Day Events
Since last we spoke I’ve made some short videos…
And in fact, I’ve got more short videos in store alongside the longer ones. These have been a fantastic way to get a little creative juices flowing and out into the world as well as hit a couple short, informative concepts without making a full-fledged video.
Now to the sheets…
Calendar Apps Script
I’ve revisited a topic that I messed with a while back. One of my most popular videos about using Apps Script to create calendar events did not go over creating all day events or recurring events
So, that’s what I covered this time.
Much of the approach is the same, and here are the bare essentials. The walkthrough video is embedded below if you want to go deeper.
We get the calendarID from our Google Calendar settings and paste it in our spreadsheet.
The EventList is the table with our events.
Recommended by LinkedIn
The meat and potatoes is our events.forEach loop where we go through each row without a checkbox and add the all day event to our calendar by using CalendarApp.getCalendarbyID().
This makes it very easy to add all day events in bulk from your spreadsheet to your Google Calendar.
If you want to follow along in the demo sheet I made, here it is.
And the video walkthrough I did is below 👇
Something a tad different…
I started another newsletter in 2024. It’s a daily reflection centered around recovery from addiction. If that sounds interesting, check it out here
Thank you so much!
It means a lot that you’ve read this, and I hope it’s informed and/or entertained you for a few moments today!
I would love to say hi. Here are the best places to find me:
Need More Help?
I think that's what attracts me to apps script and coding in general: the feeling of FINALLY getting it to do exactly what you wanted it to. Regardless of the amount of time sunk into it 😂