SlideShowTransition.LoopSoundUntilNext property (PowerPoint)
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.
With ActivePresentation.Slides(2).SlideShowTransition
.SoundEffect.ImportFromFile "c:\sndsys\dudududu.wav"
.LoopSoundUntilNext = msoTrue
End With
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.