AnimateAction Property
MsoTrue if the color of the specified shape is momentarily inverted when the specified mouse action occurs. Read/write MsoTriState.
MsoTriState can be one of these MsoTriState constants. |
msoCTrue |
msoFalse |
msoTriStateMixed |
msoTriStateToggle |
msoTrue |
expression.AnimateAction
expression Required. An expression that returns one of the objects in the Applies To list.
Example
This example sets shape three on slide one in the active presentation to play the sound of applause and to momentarily invert its color when it's clicked during a slide show.
With ActivePresentation.Slides(1) _
.Shapes(3).ActionSettings(ppMouseClick)
.SoundEffect.Name = "applause"
.AnimateAction = msoTrue
End With