This 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