Finding Calendaring Conflicts

G

Guest

How do I go to the calendar conflicts when receiving a recurring appointment
that has several conflicts?

I've just created a recurring appointment successfully and it says, "4
instances of this recurring appointment conflict with other appointments on
your Calendar".

That's great information but, as the appointment takes place every week
between June 2005 and June 2006, I'd like to know which 4 are in conflict!

I was looking for a VBA work around or a button to press, or to click on the
grey line where the message is to see a list. Then I can go through each one
and see if it is more important than the conflict (so delete the conflict) or
vice-versa (so
cancel or re-schedule the occurance).

Can anyone help or, if not, can this go forward as a suggestion and would
anyone else like to see the feature?
 
G

Guest

I believe the best approach would be to use the AppointmentItem.GetOccurrence
method in conjunction with the GetRecurrencePattern to retrieve all instances
of the appointment. Then use the date values of the individual appointments
with the Restrict method for the Item collection of the MAPIFolder object
containing your Calendar data (use the Namespace.GetDefaultFolder method to
return your default Calendar folder). This will then return another Items
collection containing all the appointments on that specific date that you can
either display or get access to their properties.
 

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