which event?

S

sagar.pes

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

Dave Kane [MVP - Outlook]

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(olFolderCalendar)
Set mcolCalendarItems = mfolCalendar.Items

Changes to the recurrence master appointment will fire
mcolCalendarItems_ItemChange
 

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