Skip to content

Latest commit

 

History

History
63 lines (35 loc) · 1.4 KB

PowerPoint.Presentation.Saved.md

File metadata and controls

63 lines (35 loc) · 1.4 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Presentation.Saved property (PowerPoint)
vbapp10.chm583027
vbapp10.chm583027
PowerPoint.Presentation.Saved
52798ca6-e181-cf82-d397-647404235cb9
06/08/2017
medium

Presentation.Saved property (PowerPoint)

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.

Constant Description
msoFalse Changes have been made to a presentation since it was last saved.
msoTrue No 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

Presentation Object

[!includeSupport and feedback]