Search through all users calenders with subject text as search criteria

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
 
K

Ken Slovak - [MVP - Outlook]

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.
 
M

Mads Westen

Thank you very much for your insight.
Where Can I find an example to use?

//MW
 
K

Ken Slovak - [MVP - Outlook]

Look in the VBA Object Browser for a code snippet on that in the Help on
GetSharedDefaultFolder().
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top