Weekday daily recurrence appointments.

J

joedowns

I'm trying to programatically create a recurrence on an appointment
that is daily but only on weekdays. I would have thought it would be
done by setting (on the RecurrencePattern object for the appointment)
the RecurrenceType to olRecursDaily, the Interval to 1 and setting the
DayOfWeekMask property to the bitwise combination of the olMonday
through olFriday values. However I get an error when trying to set the
DayOfWeekMask property which is:

"The property for the recurrence type is not valid. Verify your code."

Any ideas?

- Joe
 
J

joedowns

I've found out that even though the MSDN docs say you can use a
DayOfWeekMask property on a olRecursDaily type, you actually can't
(this is in Outlook 2003). You need to set it to olRecursWeekly and
use the DayOfWeekMask. While this works the same, if you open the
series in Outlook it shows the "Weekly" radio button selected. Is
there any way to get it to show "Daily" with "Every Weekday" selected?
 

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