ActionSettings Interface

A collection that contains the two ActionSetting objects for a shape or text range. One ActionSetting object represents how the specified object reacts when the user clicks it during a slide show, and the other ActionSetting object represents how the specified object reacts when the user moves the mouse pointer over it during a slide show.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
<GuidAttribute("9149348C-5A91-11CF-8700-00AA0060263B")> _
Public Interface ActionSettings _
    Inherits Collection
'Usage
Dim instance As ActionSettings
[GuidAttribute("9149348C-5A91-11CF-8700-00AA0060263B")]
public interface ActionSettings : Collection

Examples

Use the ActionSettings property to return the ActionSettings collection. Use ActionSettings(index), where index is either ppMouseClick or ppMouseOver, to return a single ActionSetting object. The following example specifies that the CalculateTotal macro be run whenever the mouse pointer passes over the shape during a slide show.

With ActivePresentation.Slides(1).Shapes(3) _

        .ActionSettings(ppMouseOver)

    .Action = ppActionRunMacro

    .Run = "CalculateTotal"

    .AnimateAction = True

End With

See Also

Reference

ActionSettings Members

Microsoft.Office.Interop.PowerPoint Namespace