PrintOptions.PrintHiddenSlides property (PowerPoint)

Determines whether hidden slides in the specified presentation will be printed. Read/write.

Syntax

expression. PrintHiddenSlides

expression A variable that represents a PrintOptions object.

Return value

MsoTriState

Remarks

The value of the PrintHiddenSlides property can be one of these MsoTriState constants.

Constant Description
msoFalse The hidden slides in the specified presentation will not be printed.
msoTrue The hidden slides in the specified presentation will be printed.

Example

This example prints all slides, whether visible or hidden, in the active presentation.

With ActivePresentation

    .PrintOptions.PrintHiddenSlides = msoTrue

    .PrintOut

End With

See also

PrintOptions Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.