Open Event
Applies To
AppointmentItem object, ContactItem object, JournalItem object, MailItem object, MeetingRequestItem object, NoteItem object, PostItem object, RemoteItem object, ReportItem object, TaskItem object, TaskRequestItem object.
Description
Occurs when an Outlook item is being opened in an inspector. When this event occurs, the Inspector object is initialized but not yet displayed. If you set the return value of this function to False, the open operation is not completed and the inspector isn't displayed.
Syntax
Function Item_Open( )
See Also
Close event, CustomAction event, CustomPropertyChange event, Forward event, PropertyChange event, Read event, Reply event, ReplyAll event, Send event, Write event.
Example
This example opens an item in its inspector and displays the "All Fields" page.
Function Item_Open()
myItem.GetInspector.SetCurrentFormPage "All Fields"
End Function