Supercharge your PowerPoint productivity with
Supercharge your PPT Productivity with PPTools - Click here to learn more.

PPTools

Image Export converts PowerPoint slides to high-quality images.

PPT2HTML exports HTML even from PowerPoint 2010 and 2013, gives you full control of PowerPoint HTML output, helps meet Section 508 accessibility requirements

Merge Excel data into PowerPoint presentations to create certificates, awards presentations, personalized presentations and more

Resize your presentations quickly and without distortion

Language Selector switches the text in your presentation from one language to another

FixLinks prevents broken links when you distribute PowerPoint presentations

Shape Styles brings styles to PowerPoint. Apply complex formatting with a single click.

Prep4PDF preserves interactivity in PowerPoint presentations when you convert to PDF

Hide and Unhide Slide Titles

Problem

Solution

Here are two macros that approach the problem in different ways.

HideSlideTitles1 moves the slide title off the slide so it doesn't display during slide shows, but it's still easy to edit if need be.

HideSlideTitles2 makes the slide title invisible. You can run the companion ShowSlideTitles2 to make them visible again.

There's no ShowSlideTitles1 but with a little clever programming, you could record the original position of the slide title when moving it in HideSlideTitles1 (hint: think Tags) and use that info to reposition the title later.

Sub HideSlideTitles1()
' Hides slide title by moving it just off the slide
' Puts it 2 points to the right and below bottom right corner of slide

    Dim oSlide As Slide
    Dim dSlidewidth As Double
    Dim dSlideheight As Double

    dSlidewidth = ActivePresentation.PageSetup.Slidewidth
    dSlideheight = ActivePresentation.PageSetup.Slideheight

    For Each oSlide In ActiveWindow.Presentation.Slides
            With oSlide.Shapes.Title
                .Left = dSlidewidth + 2
                .Top = dSlideheight + 2
            End With
    Next oSlide

End Sub


Sub HideSlideTitles2()
' Hides slide title by hiding the shape

    Dim oSlide As Slide

    For Each oSlide In ActiveWindow.Presentation.Slides
            oSlide.Shapes.Title.Visible = msoFalse
    Next oSlide

End Sub

Sub ShowSlideTitles2()
' Reverses the effect of HideSlideTitles2

    Dim oSlide As Slide

    For Each oSlide In ActiveWindow.Presentation.Slides
            oSlide.Shapes.Title.Visible = msoTrue
    Next oSlide

End Sub

See How do I use VBA code in PowerPoint? to learn how to use this example code.

Search terms:hide,title,invisible


Did this solve your problem? If so, please consider supporting the PPT FAQ with a small PayPal donation.
Page copy protected against web site content infringement by Copyscape Contents © 1995 - 2015 Stephen Rindsberg, Rindsberg Photography, Inc. and members of the MS PowerPoint MVP team. You may link to this page but any form of unauthorized reproduction of this page's contents is expressly forbidden.
Español    Deutsch    Français    Português    Italiano    Nederlands    Greek    Japanese    Korean    Chinese

Supercharge your PPT Productivity with PPTools

content authoring & site maintenance by
Friday, the automatic faq maker (logo)
Friday - The Automatic FAQ Maker

Hide and Unhide Slide Titles
http://www.pptfaq.com/FAQ00588_Hide_and_Unhide_Slide_Titles.htm
Last update 07 June, 2011
Created: