D
deko
When attempting to change the Categories property of a recurring
appointment, I get this error:
Error Number -1179631611: This property cannot be changed for a single
instance of a recurring meeting.
So how do I change the Categories property of the object that represents the
series?
In pseudo code, it might look like this:
Dim objItems as Object
Dim olai As Outlook.AppointmentItem
Dim olitms As Outlook.Items
Set objItems = olitms.Restrict(strCriteria)
For Each olai In objItems
If olai.IsRecurring Then
'how to get the series object???
olai.SeriesObject.Categories = strNewCategory '<== pseudo code
Else
olai.Categories = strNewCategory
End if
Next
Thanks in advance.
appointment, I get this error:
Error Number -1179631611: This property cannot be changed for a single
instance of a recurring meeting.
So how do I change the Categories property of the object that represents the
series?
In pseudo code, it might look like this:
Dim objItems as Object
Dim olai As Outlook.AppointmentItem
Dim olitms As Outlook.Items
Set objItems = olitms.Restrict(strCriteria)
For Each olai In objItems
If olai.IsRecurring Then
'how to get the series object???
olai.SeriesObject.Categories = strNewCategory '<== pseudo code
Else
olai.Categories = strNewCategory
End if
Next
Thanks in advance.