Skip to content

Latest commit

 

History

History
56 lines (31 loc) · 1.02 KB

PowerPoint.Application.Quit.md

File metadata and controls

56 lines (31 loc) · 1.02 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Application.Quit method (PowerPoint)
vbapp10.chm502022
vbapp10.chm502022
PowerPoint.Application.Quit
d7040179-ca03-563f-5bd9-80a5fd5e5d4b
06/08/2017
medium

Application.Quit method (PowerPoint)

Quits Microsoft PowerPoint. This is equivalent to clicking the Office button and then clicking Exit PowerPoint.

Syntax

expression.Quit

expression A variable that represents an Application object.

Remarks

To avoid being prompted to save changes, use either the Save or SaveAs method to save all open presentations before calling the Quit method.

Example

This example saves all open presentations and then quits PowerPoint.

With Application

    For Each w In .Presentations

        w.Save

    Next w

    .Quit

End With

See also

Application Object

[!includeSupport and feedback]