This is some code to create an iCalendar (.ics) file from data in cells

Note: These bits of code are mostly for my own reference, but if anyone else finds them useful all the better.