There are several ways you can refer to the time of a slideshow.
1) If your show is completely self-advancing (all slides have auto-advance
timings set) then using the code tohlz and John referred to may be a fairly
reliable time. If the presentation show is started and runs to completion
without any user interaction, than this is the option for you.
2) If however, you are building a show that where the presenter manually
advances the slides or starts animation sequences, than the time given by
the macro represents the absolute minimum time that the show could possibly
take. Most speakers (well, the good ones anyway) do not flip thru their
slides as fast as they can, so the presentation time generated by the code
will be greatly under-reported. If your presentation is of this latter
type, you may want to use one of these other methods.
Solution #2
This tiny macro will show you the amount of time that the slideshow has had
the 'focus'.
-------Start Code-------
Sub RabbitHole()
MsgBox SlideShowWindows(1).View _
..PresentationElapsedTime & _
" Seconds"
End Sub
-------End of Code-------
Note here, however, that this requires that you open a presentation, start
it, run thru it as you normally would, then, just before you would end it,
run this little macro. If you jump into and out of the presentation (if the
slideshow looses focus) then this number will be off also. Personally, I
think it would be easier just to use a kitchen timer or wristwatch.
If you need help in how to use VBA code, check:
http://www.pptfaq.com/FAQ00033.htm
Solution #3
You can also use my existing logging add-in (free) to record the time
various things happen within a slide show. The results are sent to a simple
text file. The total time that a slideshow was being shown is also included
in the text file.
http://billdilworth.mvps.org/Add-ins.htm#Timber If you
need to do this often, then this add-in may be beneficial.
--
Bill Dilworth
A proud member of the Microsoft PPT MVP Team
Users helping fellow users.
http://billdilworth.mvps.org
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
vestprog2@ Please read the PowerPoint FAQ pages.
yahoo. They answer most of our questions.
com
www.pptfaq.com
..