I need to be able to export a subset of Calendar events to a csv file.

How can this be done?