Hidden Slide Schedule

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

How do I schedule a slide or slides to be hidden on certain days?

I figure it's going to need VB, and some conditional statements of course,
but I'm not that familer with what all I need, and where to code in, to
accomplish that.

Thank you!
 
Excellent!

I will try this as soon as I can. Is there a way to just put this code on
the specific slide that I want to hide? Because there are other slides that
are always being added and removed and so the one slide, or slides will
consequently be designated as a different number slide.

Thank you!
 
This code would hide slides 2,3 & 5 on Saturdays only

Sub datehide()
Dim Idate As Integer
Idate = Weekday(Date, vbSunday)
With ActivePresentation.Slides _
..Range(Array(2, 3, 5)).SlideShowTransition
If Idate = vbSaturday Then
..Hidden = msoTrue
Else: .Hidden = msoFalse
End If
End With
End Sub

The vbSunday just makes sure that the week starts on a Sunday (which is the
default) if you change it the vbsaturday (= day 7) won't work correctly
You will have to find some way of running the code eg an action button on
slide 1
 
Excellent!

I will try this as soon as I can. Is there a way to just put this code on
the specific slide that I want to hide? Because there are other slides that
are always being added and removed and so the one slide, or slides will
consequently be designated as a different number slide.

Thank you!








- Show quoted text -

Yes, planpoint settings are set per slide. If no planpoint settings
are set on a given slide, then that slide is always shown.

Kurt
 
Back
Top