ActionSetting object (PowerPoint)

Contains information about how the specified shape or text range reacts to mouse actions during a slide show.

Remarks

The ActionSetting object is a member of the ActionSettings collection. The ActionSettings collection contains one ActionSetting object that represents how the specified object reacts when the user clicks it during a slide show and one ActionSetting object that represents how the specified object reacts when the user moves the mouse pointer over it during a slide show.

If you've set properties of the ActionSetting object that don't seem to be taking effect, make sure that you've set the Action property to the appropriate value.

Example

Use ActionSettings (index), where index is the either ppMouseClick or ppMouseOver, to return a single ActionSetting object. The following example sets the mouse-click action for the text in the third shape on slide one in the active presentation to an Internet link.

With ActivePresentation.Slides(1).Shapes(3) _ 
        .TextFrame.TextRange.ActionSettings(ppMouseClick) 
    .Action = ppActionHyperlink 
    .Hyperlink.Address = "https://www.microsoft.com" 
End With

Properties

Name
Action
ActionVerb
AnimateAction
Application
Hyperlink
Parent
Run
ShowAndReturn
SlideShowName
SoundEffect

See also

PowerPoint Object Model Reference

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.