Q
QWRkaW5fTm9vYg
Hopefully this isn't too confusing: When I click New->Appointment, this fires
the new inspector event. But when I refer to inspector.currentitem, it seems
to refer to whichever email message is highlighted in the inbox rather than
the new appointment.
Heres a code snippet:
Private Sub m_colInspectors_NewInspector(ByVal Inspector As Outlook.Inspector)
On Error Resume Next
Dim objItem As Object
Set objItem = Inspector.CurrentItem
MsgBox objItem.Subject
End Sub
Any ideas why this happens? Sorry I'm still learning.
-Tim
the new inspector event. But when I refer to inspector.currentitem, it seems
to refer to whichever email message is highlighted in the inbox rather than
the new appointment.
Heres a code snippet:
Private Sub m_colInspectors_NewInspector(ByVal Inspector As Outlook.Inspector)
On Error Resume Next
Dim objItem As Object
Set objItem = Inspector.CurrentItem
MsgBox objItem.Subject
End Sub
Any ideas why this happens? Sorry I'm still learning.
-Tim