Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the sound that will be played whenever the specified shape is clicked or animated or whenever the specified slide transition occurs.
Syntax
expression. ImportFromFile( _FullName_ )
expression A variable that represents an SoundEffect object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| FullName | Required | String | The name of the specified sound file. |
Example
This example specifies that the file Dudududu.wav will start to play at the transition to slide two in the active presentation and will continue to play until the next sound starts.
With ActivePresentation.Slides(2).SlideShowTransition
.SoundEffect.ImportFromFile "c:\sndsys\dudududu.wav"
.LoopSoundUntilNext = True
End With
See also
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.