Timing of Slides

  • Thread starter Thread starter CL
  • Start date Start date
C

CL

Is there a way to delay certain slides in a slideshow to only play at a
certain time during the day? I have a slide show with approximately 50 or
more slides. The slideshow loops at the end and plays continuously
throughout the day. Some of the slides contain information that only need to
be displayed during the evening hours say between 6pm and 6am. Is there a
way to set it so that only those slides play during those hours without
having someone physically there to open and start a new file? HELP!
 
yes vba is visual basic for applications
You would use it to eg check the value of Hour (Time) and based on that hide
or unhide slides.

Maybe code like this (not tested)

Sub testtime()
Dim osld As Slide
Select Case Hour(Time)
Case 6 To 18
For Each osld In ActivePresentation.Slides
If osld.SlideShowTransition.Hidden = True Then
osld.SlideShowTransition.Hidden = False
osld.Tags.Add "Hide", "Yes" 'tag slides to hide later
End If
Next osld
Case Else
For Each osld In ActivePresentation.Slides
If osld.Tags("Hide") = "Yes" Then
osld.SlideShowTransition.Hidden = True
End If
Next osld
End Select
End Sub

You could trigger it with the idea here.
http://www.pptalchemy.co.uk/autovba.html


The Add_In sounds like it does something similar and is probably much easier
to use but it will have to be installed on any computer that you are using.
--
Amazing PPT Hints, Tips and Tutorials

http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk
email john AT technologytrish.co.uk
 
Back
Top