K
kalukaley
Below is a copy of the code that I'm using to catch when someone updates an
item in their calendar.
How would I alter this code to capture an event any appointment in the
calendar.
Also, if one of the appointments is a recurring appointment how do I capture
the update of a single item in the series rather than an update to the entire
series?
Public WithEvents myItem As AppointmentItem
Private Sub Application_Startup()
Set myItem =
Application.GetNamespace("MAPI").GetDefaultFolder(olFolderCalendar).Items.GetFirst
End Sub
Private Sub myItem_PropertyChange(ByVal Name As String)
MsgBox "The " & Name & " property changed."
End Sub
item in their calendar.
How would I alter this code to capture an event any appointment in the
calendar.
Also, if one of the appointments is a recurring appointment how do I capture
the update of a single item in the series rather than an update to the entire
series?
Public WithEvents myItem As AppointmentItem
Private Sub Application_Startup()
Set myItem =
Application.GetNamespace("MAPI").GetDefaultFolder(olFolderCalendar).Items.GetFirst
End Sub
Private Sub myItem_PropertyChange(ByVal Name As String)
MsgBox "The " & Name & " property changed."
End Sub