- Subject: Re: Outlook Appointment VBA Issues
- Author: McKilty
- Date: 24 Aug 2010
- References:
1
2
3
4
5
6
7
8
9
10
11
I think it's working with GetOccurrence. Let me know if you would have
done this differently:
Dim myRecurrPatt As Outlook.RecurrencePattern
Dim myOddApptItem As Outlook.AppointmentItem
Set myRecurrPatt = SafeAppointment.GetRecurrencePattern
On Error Resume Next
Set myOddApptItem = myRecurrPatt.GetOccurrence(Date)
On Error GoTo 0
If myOddApptItem Is Nothing Then
'This is an exception.
Else
'This is not an exception.
End if