Hi I have a large number of hidden slides in my powerpoint presentation. They are not contiguous, so that I can't select them using just the SHIFT key. I'd like to color them with the same background color in one operation. Is there a way of selecting all of my hidden slides and then operating on them? Even better, but I imagine this is too much to ask, to set things up so that when I "hide" a slide, the background changes automatically

2 Answers 2


Select them using the Ctrl key instead, then apply a background color.

Holding the Ctrl key enables you to select / unselect individual slides.

For automatically changing the background color is probably necessary to write some code in VBA.


Speaking of "write some code in VBA", thank you @MarianD:

This will change the background color of each hidden slide to red: RGB(255,0,0) You can modify that to any RGB value you like.

Sub SelectHiddenSlides()
    Dim oSl As Slide
    For Each oSl In ActivePresentation.Slides
        If oSl.SlideShowTransition.Hidden Then
            oSl.FollowMasterBackground = False
            oSl.Background.Fill.Visible = True
            oSl.Background.Fill.ForeColor.RGB = RGB(255, 0, 0)
        End If
End Sub

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.