ShapeRange.ActionSettings Property (PowerPoint)
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.
expression A variable that represents a ShapeRange object.
The following example sets the actions for clicking and moving the mouse over shape one on slide two in the active presentation.
Set myShape = ActivePresentation.Slides(2).Shapes(1) myShape.ActionSettings(ppMouseClick).Action = ppActionLastSlide myShape.ActionSettings(ppMouseOver).SoundEffect.Name = "applause"