July 10th, 2007
Hide slides in PowerPoint using VBA
note just for me:
scenario: run a slideshow, output a “selection form” where the user can select the slides he wants to see in this very presentation, hide all unchecked slides, only show checked slides:
Hide slide x:
Sub CheckBox1_Click()
ActivePresentation.Slides(x).SlideShowTransition.Hidden = msoCTrue
// x = number of slide
End Sub
Unhide all slides
ActivePresentation.Slides.Range.SlideShowTransition.Hidden = msoFalse