PostItem.Reply event (Outlook)
Occurs when the user selects the Reply action for an item, or when the Reply method is called for the item, which is an instance of the parent object.
Syntax
expression. Reply
( _Response_
, _Cancel_
)
expression A variable that represents a PostItem object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Response | Required | Object | The new item being sent in response to the original message. |
Cancel | Required | Boolean | (Not used in VBScript). False when the event occurs. If the event procedure sets this argument to True, the reply operation is not completed and the new item is not displayed. |
Remarks
Returns the reply as a MailItem object.
In Microsoft Visual Basic Scripting Edition (VBScript), if you set the return value of this function to False, the reply action is not completed and the new item is not displayed.
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.