Office Settings & Configuration

Find a PowerPoint Slide Layout by Name Without Hovering

Steven ParkerSteven Parker Nov 13, 2026 869 views

Question details

The user wants to find or quickly navigate to a renamed slide layout by name in PowerPoint.

Find a PowerPoint Slide Layout by Name Without Hovering
Product
Microsoft PowerPoint
Device & OS
not provided
Scenario
A presentation contains many renamed layouts in Slide Master view, and the user wants a name-based shortcut such as Ctrl+F.
Observed behavior
PowerPoint does not provide a built-in Find command for slide layout names.
Before you start

Open the presentation in desktop PowerPoint and confirm the exact name of the layout you want to find. For the macro method, check that your organization's macro security settings allow you to run trusted VBA code.

Solution 1Recommended

Search for a layout name with a VBA macro

Use this method to find an exact layout name and open its Slide Master location without hovering over thumbnails.

The macro searches layouts across the presentation's slide masters. It creates a hidden slide using the first matching layout, then opens Slide Master view. The search ignores capitalization but requires the full layout name.

1
Open the VBA editor

In desktop PowerPoint, open the presentation. On Windows, press Alt+F11 to open the Visual Basic editor.

2
Insert the macro

In the editor, select Insert > Module and paste this code: Sub FindLayoutByName() Dim target As String Dim d As Design Dim layout As CustomLayout Dim tempSlide As Slide target = Trim(InputBox("Enter the exact layout name:")) If target = "" Then Exit Sub For Each d In ActivePresentation.Designs For Each layout In d.SlideMaster.CustomLayouts If StrComp(layout.Name, target, vbTextCompare) = 0 Then Set tempSlide = ActivePresentation.Slides.AddSlide( _ ActivePresentation.Slides.Count + 1, layout) tempSlide.SlideShowTransition.Hidden = msoTrue ActiveWindow.ViewType = ppViewNormal tempSlide.Select ActiveWindow.ViewType = ppViewSlideMaster Exit Sub End If Next layout Next d MsgBox "No layout found with that name." End Sub

3
Run the search

Return to PowerPoint, open View > Macros, select FindLayoutByName, and choose Run. Enter the exact layout name in the prompt.

4
Remove the temporary slide

When you finish working with the layout, select Slide Master > Close Master View. In Normal view, delete the hidden slide added at the end of the presentation if you no longer need it.

Search for a layout name with a VBA macro
Keeping the macro: If you want to keep the VBA code in the presentation, use File > Save As and choose a macro-enabled PowerPoint presentation (.pptm). If multiple layouts share the name, the macro uses the first match.
Free Microsoft Office alternative

Work with Presentation Layouts in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for opening and editing presentations. Its PowerPoint format compatibility helps you move existing files into WPS; it does not add a layout-name search to Microsoft PowerPoint.

Work with presentation slide layouts in WPS PresentationOpen and edit Microsoft PowerPoint PPT and PPTX filesUse a familiar interface when moving from Microsoft OfficeAccess a free, lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Can I use Ctrl+F to find a slide layout name?

No. PowerPoint does not provide a built-in Find command for slide layout names. A VBA macro can search the layout names instead.

How do I open the layout used by a particular slide?

Select the slide in Normal view, then choose View > Slide Master. PowerPoint should select the corresponding layout.

What happens if two layouts have the same name?

The macro shown here uses the first matching layout it finds across the presentation's slide masters. Give layouts distinct names if you need to identify one unambiguously.

Does a hidden slide appear in the slide show?

A slide marked with Hide Slide is normally skipped during the slide show, but it remains in the presentation. Delete the temporary slide in Normal view when you no longer need it.

How can I keep the VBA macro for later use?

Choose File > Save As and save the presentation as a macro-enabled PowerPoint file (.pptm). You may need to enable trusted macros before running it again.