Shape.ActionSettings Property

PowerPoint Developer Reference

Returns an ActionSettings object that contains information about what action occurs when the user clicks or moves the mouse over the specified shape or text range during a slide show. Read-only.

Syntax

expression.ActionSettings

expression   A variable that represents a Shape object.

Return Value
ActionSettings

Example

The following example sets the actions for clicking and moving the mouse over shape one on slide two in the active presentation.

Visual Basic for Applications
  Set myShape = ActivePresentation.Slides(2).Shapes(1)
myShape.ActionSettings(ppMouseClick).Action = ppActionLastSlide
myShape.ActionSettings(ppMouseOver).SoundEffect.Name = "applause"

See Also