ActionSettings.Item Method (PowerPoint)

Returns a single action setting from the specified ActionSettings collection.


expression. Item( _Index_ )

expression A variable that represents an ActionSettings object.


Name Required/Optional Data Type Description
Index Required PpMouseActivation The action setting for a MouseClick or MouseOver event.

Return Value



The Index parameter value can be one of these PpMouseActivation constants.

Constant Description
ppMouseClick The action setting for when the user clicks the shape.
ppMouseOver The action setting for when the mouse pointer is positioned over the specified shape.

The Item method is the default member for a collection. For example, the following two lines of code are equivalent:


For more information about returning a single member of a collection, see Returning an Object from a Collection.


This example sets shape three on slide one to play the sound of applause and uses the AnimateAction property to specify that the shape's color is to be momentarily inverted when the shape is clicked during a slide show.

With ActivePresentation.Slides.Item(1).Shapes _
    .SoundEffect.Name = "applause"
    .AnimateAction = True
End With

See also

ActionSettings Object