> I'm not sure why that would be happening, but you could try forcing it to an Integer:
>
[quoted text clipped - 51 lines]
> > objAppt.BusyStatus = arrParams(8) objAppt.BusyStatus =
> > arrParams(8)
Sounds like a really weird Outlook idiosyncracy. A solution might be to create two events, one for 2006 and one for 2007.

Signature
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
> The error only occurs when I use dates that span multiple years! If I
> set the BusyStatus to "3", then it only adds the events for 2006, not
[quoted text clipped - 5 lines]
>> objAppt.BusyStatus = CInt(arrParams(8))
>> On Error GoTo 0
>> >I have followed the directions for
>> > http://www.outlookcode.com/d/forms/holiday.htm and it works as
[quoted text clipped - 37 lines]
>> > objAppt.BusyStatus = arrParams(8) objAppt.BusyStatus =
>> > arrParams(8)
Shane - 07 Jul 2006 15:30 GMT
I am sorry, the individual events don't span multiple years, my school
year runs from July1 to June30, so events will be in 2006 and 2007.
I was thinking that since the script asked for a year, it may only be
able to deal with one calendar year?
> Sounds like a really weird Outlook idiosyncracy. A solution might be to create two events, one for 2006 and one for 2007.
>
[quoted text clipped - 57 lines]
> >> > objAppt.BusyStatus = arrParams(8) objAppt.BusyStatus =
> >> > arrParams(8)