PowerPoint Section Headers: Auto-Insert Divider Slides Between Sections
🔍 WiseChecker

PowerPoint Section Headers: Auto-Insert Divider Slides Between Sections

You want to add professional divider slides between sections in a PowerPoint presentation without manually inserting and formatting each one. PowerPoint does not include a built-in command that automatically creates divider slides from section headers. This article explains how to use the Slide Sorter view, the Outline pane, and a simple VBA macro to auto-insert divider slides that match your section names.

Key Takeaways: Inserting Divider Slides From PowerPoint Sections

  • View > Slide Sorter: Lets you see section groups and manually insert a blank divider slide at the start of each section.
  • Ctrl+Shift+Up Arrow (or Down Arrow): Promotes or demotes a slide title in the Outline pane to create a section header.
  • VBA macro (InsertDividerSlides): Automates creation of divider slides that display the section name on a centered text box.

ADVERTISEMENT

How PowerPoint Sections Work and Why They Do Not Auto-Generate Divider Slides

A PowerPoint section is a named group of slides that appears as a labeled bar in the Slide Sorter view and the left thumbnail pane. Sections help you organize content into logical parts such as Introduction, Product Overview, and Pricing. When you add a section, PowerPoint does not create a visual divider slide. The section name only appears in the interface, not on any slide during a slideshow.

To display section titles to your audience, you must insert divider slides manually. Divider slides typically contain the section name and a background design consistent with your presentation theme. Without a divider slide, your audience sees only the first content slide of each section without any transition or announcement.

What a Divider Slide Should Contain

A divider slide usually includes the section name in a large font, a subtitle or description, and a background that differs from content slides. You can copy a master divider slide and duplicate it for each section, then edit the text. This manual process works for small presentations but becomes time-consuming for decks with ten or more sections.

Why PowerPoint Does Not Offer an Auto-Insert Feature

Microsoft has not added an automatic divider slide command because section names are metadata, not slide content. The section name is stored in the presentation XML separately from slide objects. To convert section names into slide text, you must use a macro or manually copy the name to a new slide.

Manual Method: Insert Divider Slides Using Slide Sorter and the Outline Pane

This method works for presentations with fewer than ten sections. You create a blank divider slide, duplicate it, and paste the section name from the section bar.

  1. Open the Slide Sorter view
    Go to View > Slide Sorter. You see all slides and section bars. Section bars appear as gray banners with the section name between slide groups.
  2. Create a master divider slide
    Switch to Normal view. Right-click the first slide in the presentation and select Duplicate Slide. Delete all content from the duplicate slide except the background. Add a text box centered on the slide. Format the text box with a large font size 36 or 44 and a color that contrasts with the background.
  3. Duplicate the divider slide for each section
    Right-click the master divider slide and select Duplicate Slide. Repeat for each section you have. You need one divider slide per section.
  4. Move each divider to the start of its section
    In the Slide Sorter view, drag the first divider slide to the position before the first slide of the first section. Drag the second divider before the first slide of the second section. Continue for all sections.
  5. Rename each divider with the section name
    Click on the section bar in the Slide Sorter view to select it. The section name appears in the bar. Type that name into the text box of the corresponding divider slide. Repeat for every divider.

This manual method takes about one minute per section. For a 20-section deck, you spend 20 minutes on repetitive work.

ADVERTISEMENT

Automated Method: Use a VBA Macro to Insert Divider Slides From Section Names

A VBA macro reads each section name from the presentation and creates a new slide with a centered text box containing that name. This method inserts dividers in one click.

Prerequisites

You must enable the Developer tab in PowerPoint. Go to File > Options > Customize Ribbon. In the right pane, check Developer and click OK. Close the Options dialog.

Step-by-Step Macro Instructions

  1. Open the VBA editor
    Click Developer > Visual Basic. The VBA editor opens. Alternatively, press Alt+F11.
  2. Insert a new module
    In the VBA editor, go to Insert > Module. A blank code window appears.
  3. Copy and paste the macro code
    Paste the following code into the module window:
    Sub InsertDividerSlides()
    Dim sld As Slide
    Dim secName As String
    Dim secIndex As Integer
    Dim divSlide As Slide
    Dim tb As Shape
    Dim i As Integer

    For i = ActivePresentation.SectionProperties.Count To 1 Step -1
    secName = ActivePresentation.SectionProperties.Name(i)
    secIndex = ActivePresentation.SectionProperties.FirstSlideIndex(i)
    Set divSlide = ActivePresentation.Slides.Add(secIndex, ppLayoutTitleOnly)
    Set tb = divSlide.Shapes(1)
    tb.TextFrame.TextRange.Text = secName
    tb.TextFrame.TextRange.Font.Size = 44
    tb.TextFrame.TextRange.Font.Bold = msoTrue
    Next i
    End Sub

  4. Run the macro
    Press F5 or click Run > Run Sub/UserForm. PowerPoint inserts a new title-only slide before each section. The slide contains the section name in bold 44-point font.
  5. Adjust formatting as needed
    After the macro runs, switch to Normal view. Select each divider slide and apply your preferred background, colors, or additional text. The macro uses the Title Only layout from your current theme. If that layout does not exist, the macro may fail. Test on a copy of your presentation first.

The macro works with PowerPoint 2016, 2019, 2021, and Microsoft 365. It does not require any add-ins.

Common Issues and Limitations When Inserting Divider Slides

The macro inserts dividers in reverse order

The macro loops from the last section to the first so that adding slides does not shift section indices. The divider slides appear in the correct order before each section. If you see dividers in reverse, you ran a different macro. Use the code exactly as provided.

The divider slide uses the wrong layout

The macro specifies ppLayoutTitleOnly. If your theme does not have a Title Only layout, the macro inserts a blank slide. To fix this, open Slide Master view, ensure Title Only exists, or change the layout constant to ppLayoutText or ppLayoutBlank in the code.

Section names with special characters break the text box

Section names containing ampersands, angle brackets, or quotation marks display correctly in the text box because VBA handles string assignment without encoding issues. However, if a section name is empty, the macro inserts a divider with no text. Delete empty sections before running the macro.

Manual dividers do not update when section names change

If you rename a section after inserting divider slides manually, the divider text does not update. You must manually edit each divider. The macro does not have an update function. You can modify the macro to delete all dividers and re-insert them, but that removes any custom formatting you applied after the macro ran.

Item Manual Insertion VBA Macro Insertion
Time per section 1 minute 1 second (total)
Requires coding knowledge No Yes, copy-paste only
Updates when section name changes No No
Custom layout support Any layout you choose Title Only only (editable in code)
Works in PowerPoint Online Yes No (VBA not supported)

You can now insert divider slides from section headers using either a manual drag-and-drop approach or a one-click VBA macro. The macro saves time for presentations with many sections. After inserting dividers, apply your presentation theme consistently to all divider slides. For a more advanced solution, modify the macro to pull the section description from a hidden slide or an Excel sheet using the PowerPoint object model.

ADVERTISEMENT