Table of contents
TOC
Collapse the table of content
Expand the table of content

AnimationSettings.SoundEffect Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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 AnimationSettings 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

See also

Concepts

AnimationSettings Object

© 2018 Microsoft