Saved Property

Microsoft PowerPoint Visual Basic

Saved Property

       

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

MsoTriState can be one of these MsoTriState constants.
msoCTrue
msoFalse
msoTriStateMixed
msoTriStateToggle
msoTrue No changes have been made to a presentation since it was last saved.

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.

Example

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

With Application.ActivePresentation
    If Not .Saved And .Path <> "" Then .Save
End With