OlInspectorClose enumeration (Outlook)

Indicates the save mode.

Name Value Description
olDiscard 1 Changes to the document are discarded.
olPromptForSave 2 User is prompted to save documents.
olSave 0 Documents are saved.


Used as a parameter to the Close method of item objects and the Inspector.Close method (Outlook) to indicate the save mode.

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.