Rediger

Del via


Presentation.Save method (PowerPoint)

Saves the specified presentation.

Syntax

expression.Save

expression A variable that represents a Presentation object.

Remarks

Use the SaveAs method to save a presentation that has not been previously saved. To determine whether a presentation has been saved, test for a nonempty value for the FullName or Path property. If a document that has the same name as the specified presentation already exists on disk, that document will be overwritten. No warning message is displayed.

To mark the presentation as saved without writing it to disk, set the Saved property to True.

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

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.