Searching an appointment via property „GlobalAppointmentID“

Add-in Express™ Support Service
That's what is more important than anything else

Searching an appointment via property „GlobalAppointmentID“
 
N.Meyer




Posts: 26
Joined: 2012-11-07
Hello,

i would like to search an appointment via property „GlobalAppointmentID“.
My idea was to iterate over all items of the calendar folder (olFolderCalendar).
So can you tell me, if there is a faster method?
I’ve tried: Folder.Items.Find('[GlobalAppointmentID]={'040000008200E00074C5B7101A82E0080000000070376AE0C7A5D50100000000000000001000000025F7941436D0DF46AFA51CEA696CAF56'}‘)
But didn’t get any results.

Can you help me?

Thanks in advance
Nedeljka Meyer
Posted 29 Nov, 2019 08:43:44 Top
Andrei Smolin


Add-in Express team


Posts: 17689
Joined: 2006-05-11
Hello Nedeljka,

The apostrophes in the filter string look suspicious. Also, the last apostrophe is different. Check the syntax rules for constructing such queries at https://docs.microsoft.com/en-us/office/vba/api/outlook.items.restrict (or https://docs.microsoft.com/en-us/office/vba/api/outlook.items.find).

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 02 Dec, 2019 02:24:17 Top