I've been pondering over the vba examples for an hour or so and I'm not sure
they work! Surely you would need to account for animation times when they are
longer than the slide advance time. This is where it gets complicated with
delays and "with previous" animations.
For what it's worth I've been experimenting with this code.
Paste it into the vb editor and then let the show run.
Sub OnSlideShowPageChange()
Static strtTime As Date
Dim endTime As Date
If ActivePresentation.SlideShowWindow.View.CurrentShowPosition = 1 Then
strtTime = Now
If ActivePresentation.SlideShowWindow.View.CurrentShowPosition = _
ActivePresentation.Slides.Count + 1 Then
endTime = Now
MsgBox "The show lasted " & DateDiff("s", strtTime, endTime) & " seconds"
End If
End Sub
--
Amazing PPT Hints, Tips and Tutorials
http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk
email john AT technologytrish.co.uk