PrintOptions.SlideShowName property (PowerPoint)

Returns or sets the name of the custom slide show to print. Read/write .

Syntax

expression. SlideShowName

expression A variable that represents a PrintOptions object.

Return value

String

Remarks

To print a custom slide show, you must first set the RangeType property to ppPrintNamedSlideShow.

Example

This example prints an existing custom slide show named "tech talk."

With ActivePresentation.PrintOptions

    .RangeType = ppPrintNamedSlideShow

    .SlideShowName = "tech talk"

End With

ActivePresentation.PrintOut

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.