Play Method

Microsoft PowerPoint Visual Basic

Plays the specified sound effect.

expression.Play

expression    Required. An expression that returns a SoundEffect object.

Example

This example plays the sound effect that's been set for the transition to slide two in the active presentation.

ActivePresentation.Slides(2).SlideShowTransition.SoundEffect.Play