Forward Event

Forward Event

See Also         Example         Applies To

Occurs when the user selects the Forward action for an Outlook item.

Syntax 1

Function Item_Forward(byVal Forward)

Syntax 2

Sub object_Forward(ByVal Forward as Object, Cancel as Boolean)

object   An expression that evaluates to an object in the “Applies To” list.

Forward   The new item being forwarded.

Cancel   Optional. False when the event occurs. If the event procedure sets this argument to True, the forward operation is not completed and the new item is not displayed.

Remarks

Use Syntax 1 in VBScript. If you set the return value of this function to False, the forward action is not completed and the new item is not displayed.

Use Syntax 2 when handling the Forward event in Visual Basic or Visual Basic for Applications.