PauseAnimation Property

Microsoft PowerPoint Visual Basic

Determines whether the slide show pauses until the specified media clip is finished playing. Read/write MsoTriState.

MsoTriState can be one of these MsoTriState constants.
msoCTrue
msoFalse The slide show continues while the media clip plays in the background.
msoTriStateMixed
msoTriStateToggle
msoTrue The slide show pauses until the specified media clip is finished playing.

Remarks

For the PauseAnimation property setting to take effect, the PlayOnEntry property of the specified shape must be set to msoTrue.

Example

This example specifies that shape three on slide one in the active presentation will be played automatically when it's animated and that the slide show won't continue while the movie is playing in the background. Shape three must be a sound or movie object.

Set OLEobj = ActivePresentation.Slides(1).Shapes(3)
With OLEobj.AnimationSettings.PlaySettings
    .PlayOnEntry = msoTrue
    .PauseAnimation = msoTrue
End With