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

PlaySettings.PlayOnEntry Property (PowerPoint)

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

Determines whether the specified movie or sound is played automatically when it is animated. Read/write.

Syntax

expression. PlayOnEntry

expression A variable that represents a PlaySettings object.

Return Value

MsoTriState

Remarks

Setting this property to msoTrue sets the Animate property of the AnimationSettings object to msoTrue. Setting the Animate property to msoFalse automatically sets the PlayOnEntry property to msoFalse.

Use the ActionVerb property to set the verb that will be invoked when the media clip is animated.

The value of the PlayOnEntry property can be one of these MsoTriState constants.

ConstantDescription
msoFalseThe specified movie or sound is not played automatically when it is animated.
msoTrueThe specified movie or sound is played automatically when it is animated.

Example

This example specifies that shape three on slide one in the active presentation will be played automatically when it is animated. Shape three must be a sound or movie object.

Set OLEobj = ActivePresentation.Slides(1).Shapes(3)

OLEobj.AnimationSettings.PlaySettings.PlayOnEntry = msoTrue

See also

Concepts

PlaySettings Object

© 2018 Microsoft