Partager via


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

Concepts

PrintOptions Object

PrintOptions Object Members