EffectInformation.SoundEffect Property (PowerPoint)
Returns a SoundEffect object that represents the sound to be played during the transition to the specified slide. Read-only.
Syntax
expression .SoundEffect
expression A variable that represents an EffectInformation object.
Return Value
SoundEffect
Example
This example sets the file Bass.wav to be played whenever shape one on slide one in the active presentation is animated.
With ActivePresentation.Slides(1).Shapes(1).AnimationSettings
.Animate = True
.TextLevelEffect = ppAnimateByAllLevels
.SoundEffect.ImportFromFile "c:\bass.wav"
End With