ReplyAll Event

ReplyAll Event

See Also         Example         Applies To

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

Syntax 1

Function Item_ReplyAll(byVal Response)

Syntax 2

Sub object_ReplyAll(ByVal Response as Object, Cancel as Boolean)

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

Response   The new item being sent in response to the original message.

Cancel   Optional. False when the event occurs. If the event procedure sets this argument to True, the reply all 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 reply all action is not completed and the new item is not displayed.

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