A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Changing AppointmentItem.Subject split recurrence (series)



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 6th 08, 05:27 PM posted to microsoft.public.outlook.program_addins
Mk23
external usenet poster
 
Posts: 12
Default Changing AppointmentItem.Subject split recurrence (series)

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  
Old February 7th 08, 05:49 AM posted to microsoft.public.outlook.program_addins
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Changing AppointmentItem.Subject split recurrence (series)



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  
Old February 7th 08, 07:21 AM posted to microsoft.public.outlook.program_addins
Mk23
external usenet poster
 
Posts: 12
Default Changing AppointmentItem.Subject split recurrence (series)

This I tried naturally allready. But the problem of the splitted recurrence
remain.
  #4  
Old February 8th 08, 05:44 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Changing AppointmentItem.Subject split recurrence (series)

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 03:42 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-2025 Outlook Banter.
The comments are property of their posters.