Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Birthday series in calendar (http://www.outlookbanter.com/outlook-vba/95304-birthday-series-calendar.html)

Mueller-Lynch Thomas September 25th 09 04:06 PM

Birthday series in calendar
 
If someone adds the birthday date to a contact via Outlook, Outlook creates a
calendar series which doesn't get changed or doubled if you change anything
at the contact (how it should be).

If you do the same via VBA via the
Microsoft.Office.Interop.Outlook.Application Namespace every "myItem.Save()"
of an contact item results in a new calendar series.

Any ideas why and how to prevent this behavior?
Thanks Thomas

Ken Slovak - [MVP - Outlook] September 28th 09 02:07 PM

Birthday series in calendar
 
You have to find the newly added recurring series and delete it.

VBA doesn't use the Interop, it's unmanaged code.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Mueller-Lynch Thomas" wrote
in message ...
If someone adds the birthday date to a contact via Outlook, Outlook
creates a
calendar series which doesn't get changed or doubled if you change
anything
at the contact (how it should be).

If you do the same via VBA via the
Microsoft.Office.Interop.Outlook.Application Namespace every
"myItem.Save()"
of an contact item results in a new calendar series.

Any ideas why and how to prevent this behavior?
Thanks Thomas




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