Share via


Presentation.Save Method

PowerPoint Developer Reference

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 hasn't been previously saved. To determinthat has the same name as the specified presentation already exists on disk, that document is 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.

Visual Basic for Applications
  With Application.ActivePresentation
    If Not .Saved And .Path <> "" Then .Save
End With

See Also