Table of contents
TOC
Collapse the table of content
Expand the table of content

Presentation.Saved Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Determines whether changes have been made to a presentation since it was last saved. Read/write.

Syntax

expression. Saved

expression A variable that represents a Presentation object.

Return Value

MsoTriState

Remarks

If the Saved property of a modified presentation is set to msoTrue, the user won't be prompted to save changes when closing the presentation, and all changes made to it since it was last saved will be lost.

The value of the Saved property can be one of these MsoTriState constants.

ConstantDescription
msoFalseChanges have been made to a presentation since it was last saved.
msoTrueNo changes have been made to a presentation since it was last saved.

Example

This example saves the active presentation if it is been changed since the last time it was saved.

With Application.ActivePresentation

    If Not .Saved And .Path <> "" Then .Save

End With

See also

Concepts

Presentation Object

© 2018 Microsoft