Article ID: 174515
Article Last Modified on 2/12/2007
Sub Item_Open()
MsgBox "This is the Item_Open event."
' 1/1/4501 represents a date field with no value.
If Item.CreationTime = #1/1/4501# Then
MsgBox "Open: Code to run when item created goes here."
Else
MsgBox "Open: Code to run when item opened goes here."
End If
End Sub
Sub Item_Read()
MsgBox "This is the Item_Read event."
End Sub
166368 OL97: How to Get Help Programming with Outlook
170783 OL97: Q&A: Questions about Customizing or Programming Outlook
Additional query words: OutSol OutSol97 initialize activate
Keywords: kbcode kbhowto kbprogramming KB174515