Skip to content

Instantly share code, notes, and snippets.

View swh's full-sized avatar

Steve Harris swh

  • Aistemos
  • London, UK
View GitHub Profile
@swh
swh / sync.js
Last active July 1, 2020 11:28
Spreadsheet / Calendar syncing in Google Apps
/* Gobal settings */
var calId = "YOUR_CALENDAR_ID";
var alertEmail = 'YOUR_EMAIL_ADDRESS';
var sheetName = 'Holiday';
/*
* FIXME: handle rows being deleted from the spreadsheet - right now they will
* stay in the calendar if that happens
*/