avant-guvnor
Member
- Outlook version
- Outlook 2016 32 bit
- Email Account
- Office 365 Exchange
Prior to my Outlook 2016 EAS account migrating to Exchange, all my Calendars appeared as subfolders under my main folder (at the same level), named Calendar, Birthdays and UK Holidays.
I wrote some vba code to export the calendars, where I created a reference to each calendar folder and by using the Folder.GetCalendarExporter and CalendarSharing.SaveAsICal methods, I was able to save all 3 calendars as .ics files.
Now, my Outlook 2016 account has been migrated to Exchange and the Birthdays and UK Holidays folders are subfolders of the main Calendar. I am trying to edit the original code to accommodate these changes.
I can successfully export the main Calendar folder but on the Folder.GetCalendarExporter method for the Birthdays calendar I get this error:
The selected folder is not a calendar
and on the Folder.GetCalendarExporter method for the UK Holidays I get this error:
You don't have appropriate permission to perform this operation
so I am unable to export these 2 calendars. Please can anyone help me here? TIA
I wrote some vba code to export the calendars, where I created a reference to each calendar folder and by using the Folder.GetCalendarExporter and CalendarSharing.SaveAsICal methods, I was able to save all 3 calendars as .ics files.
Now, my Outlook 2016 account has been migrated to Exchange and the Birthdays and UK Holidays folders are subfolders of the main Calendar. I am trying to edit the original code to accommodate these changes.
I can successfully export the main Calendar folder but on the Folder.GetCalendarExporter method for the Birthdays calendar I get this error:
The selected folder is not a calendar
and on the Folder.GetCalendarExporter method for the UK Holidays I get this error:
You don't have appropriate permission to perform this operation
so I am unable to export these 2 calendars. Please can anyone help me here? TIA