PlaySettings.ActionVerb property (PowerPoint)

Returns or sets a string that contains the OLE verb that will be run when the specified OLE object is animated during a slide show. Read/write.

Syntax

expression. ActionVerb

expression A variable that represents a PlaySettings object.

Remarks

The default verb specifies the action that the OLE object runs — such as playing a wave file or displaying data so that the user can modify it — after the previous animation or slide transition.

Example

This example specifies that shape three on slide one in the active presentation will automatically open for editing when it is animated. Shape three must be an OLE object that contains a sound or movie object and that supports the "Edit" verb.

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

With OLEobj.AnimationSettings.PlaySettings

    .PlayOnEntry = True

    .ActionVerb = "Edit"

End With

See also

PlaySettings Object

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.