SoundEffect.Play method (PowerPoint)

Plays the specified sound effect.

Syntax

expression. Play

expression A variable that represents 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

See also

SoundEffect Object Player Object

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.