Search through all users calenders with subject text as search criteria

  • Thread starter Thread starter Mads Westen
  • Start date Start date
M

Mads Westen

I'm trying to find the owner of an appointment by searching through every
user calendar on the exchange server. Or maybe only through some selected
users calendars.
My search criteria is a specific subject (like: "1122, Trading Inc, 2222
West #123-")

Will my search by default be on every calendar, or do I have to make a
search pr. user?
How do I optimize my search as much as possible?

Best regards
MW
 
If you have the actual appointment you can just look at the Organizer field.
Otherwise you'd need to use NameSpace.GetSharedDefaultFolder() to get each
folder and look for the appointment there. You'd need to search calendar by
calendar.
 
Look in the VBA Object Browser for a code snippet on that in the Help on
GetSharedDefaultFolder().
 
Back
Top