Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / September 2005

Tip: Looking for answers? Try searching our database.

Weekday daily recurrence appointments.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
joedowns@gmail.com - 15 Sep 2005 00:27 GMT
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
joedowns@gmail.com - 15 Sep 2005 02:32 GMT
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?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.