Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   which event? (http://www.outlookbanter.com/outlook-vba/10606-event.html)

[email protected] April 5th 06 06:35 AM

which event?
 
Hi friends,
I just wanted to know which event is triggered whebn someone
deletes or modifies only a single occurance of a recurring appointment.

I tried to catch the itemremove and itemchange events but they are not
triggered when only one occurence is changed. So could anyone please
help in this regard.
Thank you...


Dave Kane [MVP - Outlook] April 6th 06 07:25 AM

which event?
 
Deleting or modifying a single instance of a recurring series modifies the
recurrence master for that series (usually the first appointment the series,
but not necessarily if instances are added to the beginning). Any change to
the recurrence master will fire the ItemChange event for the Items
collection of the Calendar folder. So if you dimension a module-level
variable like this:

Private WithEvents mcolCalendarItems As Outlook.Items

And assign it to the Calendar Items collection
Set mfolCalendar =
mobjOutlook.Session.GetDefaultFolder(olFolderCalen dar)
Set mcolCalendarItems = mfolCalendar.Items

Changes to the recurrence master appointment will fire
mcolCalendarItems_ItemChange

wrote in message
ups.com...
Hi friends,
I just wanted to know which event is triggered whebn someone
deletes or modifies only a single occurance of a recurring appointment.

I tried to catch the itemremove and itemchange events but they are not
triggered when only one occurence is changed. So could anyone please
help in this regard.
Thank you...





All times are GMT +1. The time now is 07:34 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