Changing AppointmentItem.Subject split recurrence (series)

  • Thread starter Thread starter Mk23
  • Start date Start date
M

Mk23

Hi

I have a problem by manipulating Appointment items properties. Our addin
manipulates the subject of appointmentItems.
When i have a recurrence appointmentitem, and I manipulate the subject, the
recurrence will be shown as split in the Outlook.

I tried to set the new subject over the recurrence pattern, but there is no
property that offers an operation like this. I also tried to set the subject
only at the first appointment of the recurrence, but the result was, that
only the one I manipulatet showed also the right subject.

Has someone any idea?
 
Do you mean you get an exception in the series?
That means you are modifying one of the instances of the appointment, not
the master appointment.
Check if the AppointmentItem.RecurrenceState property is olApptOccurrence (=
2) or olApptException (=3) and use Parent property, which will return the
master appointment.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top