Open.ics with Outlook 2013 to read items
This applies to Office 2013.
In previous versions of Office (2010), I had a script that downloaded the .ics attachment and then saved it to my calendar. After downloading the .ics, I then loop over the .ics file and copy everything
to my calendar.
Dim oSharedFolder As Outlook.folder Set oSharedFolder = _ Application.GetNamespace("MAPI").OpenSharedFolder( _ "C:\Temp\1421940003_event.ics")
However, in 2013 the VBA method
no longer allows me to do this, saying "The operation failed". When looking at the MSDN documentation, I see:
Good perfect! They replaced the name with OpenSharedItem instead (ignore their example using the .ics .. file, which has the same error). However, when I go there I see:
So both of these links are related to each other - wrong, I might add as both refused, although both examples say they work for ics files.
My question is:
- How to open .ics file using Outlook 2013 vba?
source to share