Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Finding Calendaring Conflicts (http://www.outlookbanter.com/outlook-vba/8355-finding-calendaring-conflicts.html)

Chilired March 15th 06 07:30 PM

Finding Calendaring Conflicts
 
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?

Eric Legault [MVP - Outlook] March 15th 06 08:11 PM

Finding Calendaring Conflicts
 
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.

--
Eric Legault (Outlook MVP, MCDBA, old school WOSA MCSD, B.A.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Chilired" wrote:

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?



All times are GMT +1. The time now is 08:56 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com