How do I calculate the next recurrence date?

W

Warren Gamley

I am trying to show a column that tells me the next recurrence date of an
appointment after today. For example, if the start date of an appointment was
01/01/2007 and the appointment recurred annually, then the next recurrence
date after today (07/26/2009) would be 01/01/2010. How do I create a formula
for this in a column within Outlook 2007?
 
D

Dmitry Streblechenko

Outlook Object Model only lets you pass a date to
RecurrencePattern.GetOccurrence. so you pretty much need to know the date in
advance unless you loop through all available dates and handles a returned
COM exception if thereis no occurrence on the given date.
<plug> Redemption on the other hand lets you pass either a date or an
integer index -
http://www.dimastr.com/redemption/rdo/rdorecurrencepattern.htm </plug>

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

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