Hidden Slide Schedule

S

Senexis

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!
 
S

Senexis

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!
 
J

John Wilson

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
 
K

Kurt

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top