Forward 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 the user selects the Forward action for an Outlook item. Both the original item and the newly created item are passed to the event. If you set the return value of this function to False, the Forward action isn't completed and the new item isn't displayed.

Syntax

Function Item_Forward(Response As Object)

Response The item created in response to the event.

See Also

Close event, CustomAction event, CustomPropertyChange event, Open event, PropertyChange event, Read event, Reply event, ReplyAll event, Send event, Write event.

Example

This example disables forwarding on an item and displays a message that the item may not be forwarded.

Function Item_Forward(ByVal myForwardItem)
    MsgBox "You may not forward this message!"
    Item_Forward = False
End Function