Share via


SlideShowTransition.LoopSoundUntilNext Property

PowerPoint Developer Reference

Specifies whether the sound that's been set for the specified slide transition loops until the next sound starts. Read/write.

Syntax

expression.LoopSoundUntilNext

expression   A variable that represents a SlideShowTransition object.

Return Value
MsoTriState

Remarks

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

Constant Description
msoFalse The sound that's been set for the specified slide transition does not loop.
msoTrue The sound that's been set for the specified slide transition loops until the next sound starts.

Example

This example specifies that the file Dudududu.wav will start to play at the transition to slide two in the active presentation and will continue to play until the next sound starts.

Visual Basic for Applications
  With ActivePresentation.Slides(2).SlideShowTransition
    .SoundEffect.ImportFromFile "c:\sndsys\dudududu.wav"
    .LoopSoundUntilNext = msoTrue
End With

See Also