Share via


PrintOptions.SlideShowName Property

PowerPoint Developer Reference

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."

Visual Basic for Applications
  With ActivePresentation.PrintOptions
    .RangeType = ppPrintNamedSlideShow
    .SlideShowName = "tech talk"
End With
ActivePresentation.PrintOut

See Also