Outlook Appointment recurrence setting

J

JP Ronse

Hi All,

I am working on an automation project to send recurrent meeting requests
from an Excel file on.

Everything works fine for weekly, monthly and monthNth recurrent meetings.
Also daily recurrent meetings are OK but the thing I don't see is how to
specify that 'every weekday' option has to be used. I'm usiing Office/Oulook
2003.

Part of my code:

Select Case golRecurrenceInfo_Occurence
Case olRecursDaily
olRecurrencePattern.RecurrenceType = olRecursDaily
olRecurrencePattern.Interval =
golRecurrenceInfo.Interval

Case olRecursWeekly
olRecurrencePattern.RecurrenceType = olRecursWeekly
olRecurrencePattern.Interval =
golRecurrenceInfo.Interval

golRecurrenceInfo.Interval is an intenal variable containing the recurrency
info. I would be grateful for any help.

Wkr,

JP
 
M

Michael Bauer [MVP - Outlook]

As I remember, you need to write the days into the DayOfWeekMask property.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: <http://www.vboffice.net/product.html?pub=6&lang=en>


Am Fri, 13 Nov 2009 16:09:47 +0100 schrieb JP Ronse:
 
J

JP Ronse

Hi Michael,

Thanks for your help. You are right. Meanwhile I was able to figure out that
I had to use 62 as DayOfWeekMask to point to every weekday (Mon to Fri).

Wkr,

JP
 
J

JP Ronse

Hi Dimitry,

Thanks for your help. Indeed it is 62. I was able to figure it out with some
other code I have already in use.
If I had a look to all constants and not only to olSunday & olMonday, I
would have seen that Sun =1, Mon =2... Sat =64 and not the usual values 1 to
7.

Wkr,

JP
 

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