![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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? |
Ads |
#2
|
|||
|
|||
![]() This works like a charm: Set Folder=Application.Session.GetDefaultFolder(olFold erCalendar) Set obj=Folder.Items("testitem") if not obj is nothing then obj.subject="hallo testitem" obj.save end if -- Best regards Michael Bauer - MVP Outlook Outlook Categories? The Tool: http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6 Am Wed, 6 Feb 2008 09:27:02 -0800 schrieb 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? |
#3
|
|||
|
|||
![]()
This I tried naturally allready. But the problem of the splitted recurrence
remain. |
#4
|
|||
|
|||
![]()
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 "Mk23" wrote in message ... This I tried naturally allready. But the problem of the splitted recurrence remain. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't save AppointmentItem properties of recurrence appointment | Mk23 | Add-ins for Outlook | 4 | February 15th 08 01:05 PM |
Changing subject colors in Inbox | J Lunis | Outlook - General Queries | 3 | March 28th 07 01:03 PM |
end series without changing exceptions in prior appointments | firemanwja | Outlook - Calandaring | 1 | June 14th 06 10:14 PM |
end series without changing exceptions in prior occurences | firemanwja | Outlook - Calandaring | 0 | June 14th 06 06:48 PM |
Changing Series Appt time from All Day to set time | Bryan | Outlook - General Queries | 1 | January 17th 06 03:24 AM |