Application.DisplayAlerts (PowerPoint)

Sets or returns whether Microsoft PowerPoint displays alerts while running a macro. Possible return values are ppAlertsAll - All alerts displayed, ppAlertsNone - No alerts displayed.

The value of the DisplayAlerts property is not reset once a macro stops running; it is maintained throughout a session. It is not stored across sessions, so when PowerPoint begins, it is reset to ppAlertsNone. The value of the DisplayAlerts property can be one of these PpAlertLevel constants.


Application.DisplayAlerts = ppAlertsAll