Save Method

Microsoft PowerPoint Visual Basic

Saves the specified presentation.

expression.Save

expression    Required. An expression that returns a Presentation object.

Remarks

Use the SaveAs method to save a presentation that hasn't 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 with the same name as the specified presentation already exists on disk, that document will be overwritten. No warning message will be 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's been changed since the last time it was saved.

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