A family of Microsoft presentation graphics products that offer tools for creating presentations and adding graphic effects like multimedia objects and special effects with text.
In my code you would need to select each slide too.
Try this instead if you just want the media to play onclick
Sub StartAdvance()
Dim sld As Slide
Dim shp As Shape
Dim myTime As Long
Dim eff As Effect
Dim L As Long
For Each sld In ActivePresentation.Slides
sld.Select
For Each shp In sld.Shapes
For L = 1 To sld.TimeLine.MainSequence.Count
Set eff = sld.TimeLine.MainSequence(L)
If eff.Shape.Type = msoMedia Then
If eff.Shape.MediaType = ppMediaTypeSound Then
eff.Timing.TriggerType = msoAnimTriggerOnPageClick
eff.EffectInformation.PlaySettings.LoopUntilStopped = False
eff.EffectInformation.PlaySettings.StopAfterSlides = 1
End If
End If
Next L
Next shp
Next sld
End Sub