State Property

Microsoft PowerPoint Visual Basic

State Property

       

Returns or sets the state of the slide show. Read/write PpSlideShowState.

PpSlideShowState can be one of these PpSlideShowState constants.
ppSlideShowBlackScreen
ppSlideShowDone
ppSlideShowPaused
ppSlideShowRunning
ppSlideShowWhiteScreen

expression.State

expression   Required. An expression that returns one of the objects in the Applies To list.

Example

This example sets the view state in slide show window one to a black screen.

SlideShowWindows(1).View.State = ppSlideShowBlackScreen