Share via


SlideShowSettings.LoopUntilStopped Property

PowerPoint Developer Reference

Determines whether specified slide show loops continuously until the user presses ESC. Read/write.

Syntax

expression.LoopUntilStopped

expression   A variable that represents a SlideShowSettings object.

Remarks

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

Constant Description
msoFalse The specified slide show does not loop continuously.
msoTrue The specified slide show loops continuously until the user presses ESC.

Example

This example starts a slide show of the active presentation that will automatically advance the slides (using the stored timings) and will loop continuously through the presentation until the user presses ESC.

Visual Basic for Applications
  With ActivePresentation.SlideShowSettings
    .AdvanceMode = ppSlideShowUseSlideTimings
    .LoopUntilStopped = msoTrue
    .Run
End With

See Also