Write Event
TOC
Collapse the table of content
Expand the table of content

DistListItem.Write Event (Outlook)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Occurs when an instance of the parent object is saved, either explicitly (for example, using the Save or SaveAs methods) or implicitly (for example, in response to a prompt when closing the item's inspector).

expression .Write(Cancel)

expression A variable that represents a DistListItem object.

Parameters

Name

Required/Optional

Data Type

Description

Cancel

Required

Boolean

(Not used in VBScript). False when the event occurs. If the event procedure sets this argument to True, the save operation is not completed.

In Microsoft Visual Basic Scripting Edition (VBScript), if you set the return value of this function to False, the save operation is not completed.

Show:
© 2016 Microsoft