Application.PresentationPrint Event

PowerPoint Developer Reference

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.

Visual Basic for Applications
  Private Sub App_PresentationPrint(ByVal Pres As Presentation)
    Pres.PrintOptions.PrintHiddenSlides = True
End Sub

See Also