G
GillesC
I'm trying to delete one occurence of a recurring appointment from a com addin:
Dim oRecur As Outlook.RecurrencePattern
Dim OddAppt As Outlook.AppointmentItem
Set oRecur = myAppointment.GetRecurrencePattern
Set OddAppt = oRecur.GetOccurrence(myAppointment.start)
OddAppt.Delete
It works. But outlook prompts the user to confirm wheter he wants to delete
this occurence or the series.
I searched for an equivalent of Excel's "Application.DisplayAlerts = False"
without success.
Is there a way to bypass this question?
Dim oRecur As Outlook.RecurrencePattern
Dim OddAppt As Outlook.AppointmentItem
Set oRecur = myAppointment.GetRecurrencePattern
Set OddAppt = oRecur.GetOccurrence(myAppointment.start)
OddAppt.Delete
It works. But outlook prompts the user to confirm wheter he wants to delete
this occurence or the series.
I searched for an equivalent of Excel's "Application.DisplayAlerts = False"
without success.
Is there a way to bypass this question?