Share via


SoundEffect.Play Method

PowerPoint Developer Reference

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.

Visual Basic for Applications
  ActivePresentation.Slides(2).SlideShowTransition.SoundEffect.Play

See Also