Partager via


Application.PresentationPrint Event (PowerPoint)

Occurs before a presentation is printed.

Syntax

expression .PresentationPrint(Pres)

expression A variable that represents an Application object.

Parameters

Name

Required/Optional

Data Type

Description

Pres

Required

Presentation

The presentation to be printed.

Remarks

For information about using events with the Application object, see How to: Use Events with the Application Object.

Example

This example sets the PrintHiddenSlides property to True so that every time the active presentation is printed, the hidden slides are printed as well.

Private Sub App_PresentationPrint(ByVal Pres As Presentation)

    Pres.PrintOptions.PrintHiddenSlides = True

End Sub

See Also

Concepts

Application Object

Application Object Members