Define criteria for hiding PowerPoint slides?

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

Guest

Is there any way to define criteria for selectively displaying powerpoint
slides?

For example, say I regularly use a presentation with 120 slides split into
10 topics. Depending on the audience I will want to show a selection of
these topics. Rather than individually hiding/showing the desired slides,
I'd like to associate some topic marker with each slide and, when I run the
presentation, choose which topics I want (imagine a set of checkboxes). It
will automatically show only those slides that are associated with one of the
selected topics.
I don't mind writing a macro but I can't even work out whether you could
have buttons that could be pressed to set some variables (or whatever).
 
You are going about it the hard way, I think. You are trying to hide the
stuff you don't want, when it would be much easier to show the stuff you do.

PowerPoint has a neat little feature called custom shows. If you set up
your main presentation as your 'slide bank' then you can selectively add
slides to a custom show to build a topic show. But wait, it gets better.
You can hyperlink to these custom shows so that you can create a menu of
these custom shows on a slide.

Excellent stuff on this at :
http://www.powerpointanswers.com/article1058.html

--

Bill Dilworth
Microsoft PPT MVP Team
===============
Please spend a few minutes checking vestprog2@
out www.pptfaq.com This link will yahoo.
answer most of our questions, before com
you think to ask them.

Change org to com to defuse anti-spam,
ant-virus, anti-nuisance misdirection.
..
..
 
I was thinking exactly along the lines of what Bill said. However, that
might not be enough for you. It is certainly the easiest thing to do and
provides 90% of the functionality you want. Getting that last 10% would
require some programming, and I'm guessing it's not worth the effort.
--David

--
David M. Marcovitz
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
 
I like Bill's approach, but if it doesn't work for what you want and you really
need to code something specific, you can use Tags as your topic markers.

Here's some example code:

Sub TagTheSlides()

With ActivePresentation.Slides(1)
.Tags.Add "SubjectC", "YES"
' Anything but YES (or nothing at all) is assumed to be NO
End With

With ActivePresentation.Slides(2)
' you can have multiple tags:
.Tags.Add "SubjectA", "YES"
.Tags.Add "SubjectB", "YES"
End With

End Sub

Sub MakeTheShow()
' Hides all but the topics we want to show

Dim oSl As Slide
For Each oSl In ActivePresentation.Slides
' let's make this a SubjectA show
If oSl.Tags("SubjectA") = "YES" Then
oSl.SlideShowTransition.Hidden = msoFalse
Else
oSl.SlideShowTransition.Hidden = msoTrue
End If
Next ' oSl

End Sub
 
Steve,
Seems to me the Piggie toolbar could use an update to add Tags, or
does it already do that? Shoot me the current version as a ppt and
I'll add it. I can use it on a project I'm trying to finish up in
early Jan. That means it'll get done (g).

Brian Reilly, PowerPoint MVP
 
MS MVP Brian Reilly said:
Steve,
Seems to me the Piggie toolbar could use an update to add Tags, or
does it already do that?

Has for years, but only with the StarterSet Plus registered version.
If you'd write things down before Brianizing them, you could have UberPiggie
too. ;-)

Adds/Edits/Deletes tags
Edits links
Edits shape names
Tells you more about the object than any sane person would ever want to know
 
Back
Top