How to Lock Slide Layouts So Users Cannot Edit Master Placeholders
🔍 WiseChecker

How to Lock Slide Layouts So Users Cannot Edit Master Placeholders

When you share a PowerPoint template with colleagues, you may want to prevent them from accidentally moving or deleting placeholders on individual slides. These placeholders—text boxes, image frames, chart areas—are defined in the Slide Master and its associated layouts. Once a user applies a layout to a slide, they can normally select and delete those placeholders, which breaks the template structure. This article explains how to lock slide layouts so that users cannot edit master placeholders. You will learn two methods: using the Slide Master view and applying a VBA macro for more permanent protection.

Key Takeaways: Locking Placeholders in PowerPoint Layouts

  • View > Slide Master > Layout thumbnail > Uncheck “Allow editing of placeholders”: Prevents users from moving, resizing, or deleting placeholders on slides that use that layout.
  • Developer > Visual Basic > Insert Module > Paste macro code: Locks all placeholders across every layout in one click, useful for protecting large templates.
  • File > Info > Protect Presentation > Restrict Access: Combines layout locking with password protection to prevent users from re-entering Slide Master view.

ADVERTISEMENT

Why Users Can Edit Master Placeholders by Default

PowerPoint’s Slide Master system separates design (master and layouts) from content (individual slides). When a user applies a layout, the placeholders on that slide are copied from the layout. By default, these placeholders are not locked. A user can click on a text box that came from the layout and press Delete, removing it from that slide only. This behavior is intentional—PowerPoint assumes the user may need to customize a slide by removing an unwanted placeholder.

However, in corporate templates or educational materials, you often want every slide to retain the same structure. If a user deletes a placeholder, the slide no longer matches the template design. The fix is a built-in setting in the Slide Master view: a checkbox labeled “Allow editing of placeholders.” When unchecked, placeholders on that layout become unselectable on slides that use it. The user cannot click, move, resize, or delete them.

Steps to Lock Placeholders for a Single Layout

This method works for one layout at a time. Repeat for each layout you want to protect.

  1. Open the presentation and switch to Slide Master view
    Go to the View tab on the ribbon. Click Slide Master. PowerPoint enters a special editing mode with the Slide Master pane on the left.
  2. Select the layout you want to lock
    In the left pane, click the layout thumbnail below the master slide. Layouts are labeled with names like “Title Slide” or “Content with Caption.” The layout preview appears in the main editing area.
  3. Open the Layout Properties dialog
    Right-click the layout thumbnail (not the master slide at the top). Choose Layout Properties from the context menu. A dialog box titled “Layout Properties” appears.
  4. Uncheck “Allow editing of placeholders”
    In the dialog, locate the checkbox labeled Allow editing of placeholders. Uncheck it. Click OK to close the dialog.
  5. Exit Slide Master view
    On the Slide Master tab, click Close Master View. All slides that use this layout now have locked placeholders. Users cannot select or modify them.

Testing the Locked Layout

Create a new slide using the layout you just locked. Click on any placeholder that came from the layout. If the lock is active, the placeholder will not show selection handles. The user can still add new text boxes or shapes on top of the slide, but the original placeholder remains untouched.

ADVERTISEMENT

Locking All Layouts at Once Using a VBA Macro

If your template has dozens of layouts, repeating the above steps for each one is tedious. A VBA macro can uncheck the “Allow editing of placeholders” checkbox for every layout in one run. This method requires the Developer tab to be visible.

  1. Enable the Developer tab
    Go to File > Options > Customize Ribbon. In the right pane, check Developer. Click OK. The Developer tab appears on the ribbon.
  2. Open the Visual Basic Editor
    On the Developer tab, click Visual Basic. The VBA editor window opens.
  3. Insert a new module
    In the VBA editor, go to Insert > Module. A blank code window appears.
  4. Paste the macro code
    Copy the following code and paste it into the module window:


    Sub LockAllLayoutPlaceholders()
       Dim lyt As CustomLayout
       For Each lyt In ActivePresentation.SlideMaster.CustomLayouts
           lyt.AllowEditingOfPlaceholders = msoFalse
       Next lyt
       MsgBox "All layout placeholders are now locked."
    End Sub

  5. Run the macro
    Press F5 to run the macro. A message box confirms the operation. All layouts in the presentation now have the “Allow editing of placeholders” checkbox unchecked.
  6. Save the presentation as a macro-enabled file
    Go to File > Save As. Choose PowerPoint Macro-Enabled Presentation (pptm) from the file type dropdown. Saving as .pptx will strip the macro.

If Users Can Still Edit Placeholders After Locking

Even with the layout locked, users can re-enter Slide Master view and re-check “Allow editing of placeholders.” To prevent this, protect the presentation itself.

Users Re-enter Slide Master View and Unlock Layouts

Go to File > Info > Protect Presentation > Restrict Access. Choose Restricted Access and set permissions that prevent editing of the entire file. This is an enterprise feature that requires Microsoft Information Rights Management. For a simpler approach, save a copy of the presentation as a PowerPoint Show (.ppsx) file. When opened, it runs directly in Slide Show view, and users cannot access the Slide Master at all.

Users Delete a Placeholder Before You Lock the Layout

If a user already deleted a placeholder on a slide before you applied the lock, that placeholder is gone permanently. The lock only prevents future deletions. To restore it, reapply the layout: right-click the slide thumbnail, choose Layout, and select the original layout. The placeholder reappears.

Placeholders on the Master Slide Itself Are Still Editable

The method above locks placeholders on layouts, not on the master slide itself. If you want to lock placeholders on the master, you must use the same checkbox in the Master Properties dialog. Right-click the master thumbnail (the topmost slide in the Slide Master pane) and choose Master Properties. Uncheck Allow editing of placeholders. This prevents users from editing placeholders that appear on every layout.

PowerPoint Locking Methods Comparison

Item Layout Properties Lock VBA Macro Lock
Scope One layout at a time All layouts in one click
Requires Developer tab No Yes
File type needed .pptx .pptm (macro-enabled)
Reversible by user Yes, via Slide Master view Yes, via Slide Master view
Best for Small templates with few layouts Large templates with many layouts

You can now lock placeholders on any PowerPoint layout to preserve your template design. Use the Slide Master checkbox for individual layouts or the VBA macro for bulk protection. For additional security, combine layout locking with file-level restrictions such as saving as a PowerPoint Show (.ppsx) or applying Information Rights Management. The View > Slide Master option remains the most accessible method for most business users.

ADVERTISEMENT