Continuation from another question: VBA: Read outlook calendar - not reading recurring appointments?
From the outlook calendar, I'm reading / parsing / sorting the work week to create a summary. I had a previous issue where recurring appointments were not being read - now sorted.
Now - If during the work week I delete a recurring event, say due to holiday, it still shows up in my summary. I can't figure out any parameters within the object to test if its been removed from this week. Recommendations?
Set olApp = CreateObject("Outlook.Application")
Set olNS = olApp.GetNamespace("MAPI")
Set olFolder = olNS.GetDefaultFolder(olFolderCalendar)
Set olColItems = olFolder.Items
sFilter = "[START] >= '" & sDateStart & "' And [End] <= '" & sDateEnd & "'"
Set olColFilteredItems = olColItems.Restrict(sFilter)
For Each oItem In olColFilteredItems
aImport(iCount, 1) = oItem.Subject
aImport(iCount, 2) = oItem.Start
aImport(iCount, 3) = oItem.End
aImport(iCount, 4) = oItem.Location
Next oItem
Kind regards, Max