• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Excel Workbook Protection

You are here: Home / Excel / Excel Workbook Protection
Workbook Protection
April 7, 2021 by Mynda Treacy

When you spend days crafting your latest report, the last thing you need are well meaning users messing with your file. In this tutorial I’m going to show you how to use Excel workbook protection which will allow your users to experience the report as you intended. They can:

  • Click Slicer buttons
  • Refresh data connections
  • Select items from drop down lists/data validation
  • Click hyperlinks
  • But they can’t break it!

Watch the Video


Subscribe YouTube

Written Steps for Excel Workbook Protection:

Unlock Cells

By default, all cells and objects in the workbook are locked. However, this doesn’t come into effect until you protect the sheet via the Review tab of the ribbon:

Excel worksheet protection

For most reports and dashboards, you won’t want any cells unlocked, but if you have data validation lists you want your users to interact with, then you’ll want to unlock those cells before protecting the sheet. Likewise for hyperlinks.

To do this, CTRL+1 to open the Format cells dialog box > Protection tab > deselect the ‘Locked’ box:

Protect cells

Hyperlinks

If you have any cells containing hyperlinks, you’ll need to unlock them before protecting the sheet. However, you don’t need to unprotect objects with associated hyperlinks as these will still be clickable when the sheet is protected.

Allow PivotTable and Slicer Interaction

Slicers: Slicers must be unlocked for your users to be able to select items. To do this, select the Slicer (hold SHIFT or CTRL to select multiple Slicers) > CTRL+1 to open the format pane > under Position and Layout check the ‘Disable resizing and moving’ box. This will prevent the pull handles on the Slicer appearing when the Slicer is clicked, and of course as a result, your users can’t move or resize it.

Under Slicer Properties deselect ‘Locked’.

Protect Excel Slicers

Pivot Charts: If your Pivot Charts have field buttons, like the expand and collapse buttons shown below, that you want your users to interact with then you’ll also need to unprotect the charts. Most of the time your Pivot Charts won’t have any field buttons, so you’ll want to leave them protected.

To unprotect a chart, select the chart border then CTRL+1 to open the formatting pane where you can turn off protection.

Excel chart protection

Note: regular charts should stay protected.

Be sure to check the ‘Use PivotTable & PivotChart’ box so they can be updated when any Expand and Collapse buttons or Slicer buttons are selected:

Excel worksheet protection

Form Controls

If your reports use Form Controls, like buttons or check boxes available from the Developer tab then there’s no need to unprotect them as they remain interactive when locked.

Excel Form Controls

Hide Formulas

If you have lots of formulas in your dashboard or report that you don’t want users to be able to inspect, be sure to deselect the ‘Select locked cells’ box:

Prevent users seeing formulas

This will prevent users being able to select any locked cells and as a result they cannot see the underlying formulas in the formula bar.

Hide Workings

The only sheet visible in your file should be your dashboard or report. Put your source data, workings and PivotTables on hidden sheets, then set Workbook Protection to prevent users unhiding them.

IMPORTANT: do not also protect your hidden workings sheets as this will prevent refreshing data connections and PivotTables that support your dashboard or report.

Excel Workbook Protection

Once you have protection set at the cell, object and worksheet level you can set up workbook protection to prevent users unhiding the worksheets that you’ve hidden.

Excel workbook protection

Excel Workbook Protection Caveat

Worksheet and workbook level protection is not intended as a security feature. It simply prevents users from modifying your reports. Don’t rely on it to keep sensitive information private because the password protection can be removed with a range of free tools and techniques available through a simple Google search.

If protecting sensitive data is essential, please consider using Power BI, which has built in security features that allow you to restrict data access to only those with authorisation.

Workbook Protection

More Excel Posts

tips for working in multiple excel files

Hacks for Working in Multiple Excel Files

Awesome tips for navigating, arranging and working in multiple Excel files. Guaranteed to streamline your workflow and increase productivity.
chatgpt for excel

ChatGPT for Excel

Using ChatGPT for Excel can be hit and miss. Learn the best uses for ChatGPT to make your Excel life easier and what to avoid using it for.
excel templates

Where to Find Free Excel Templates

Where to find free Excel templates and how to create your own Excel templates. Using templates saves time and effort.
Easily Remove Password Protection from Excel Files

Easily Remove Excel Password Protection

How to remove Excel password protection when you’ve forgotten the password. Works for sheets, workbooks and read only files.
Import data from a picture to Excel

Import Data from a Picture to Excel

Import data from a picture to Excel. Works with pictures from a file or the clipboard and loads it to the spreadsheet.
excel online

5 Excel Online Features Better than Desktop

5 Excel Online Features Better than Desktop including searchable data validation, track changes, single line ribbon and more.

10 Common Excel Mistakes to Avoid

10 common Excel mistakes to avoid, including merge cells, external links, formatting entire rows/columns and more.
new Excel features

Cool New Features in Excel for Microsoft 365

Cool New Features in Excel for Microsoft 365 including the navigation pane, smooth scroling, unhide multiple sheets and more.
dynamic dependent data validation

Dynamic Dependent Data Validation

Dynamic Dependent Data Validation with dynamic array formulas like FILTER make it quick and easy to set up.
QAT

Excel Quick Access Toolbar

The Excel Quick Access Toolbar is not only a handy for your mouse, but it also enables some super easy keyboard shortcuts.


Category: Excel
Previous Post:static data tablesStatic Tables in Power Query, Power Pivot and Power BI
Next Post:Shape Maps in Power BIshape maps in power bi

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Current ye@r *

Leave this field empty

Sidebar

More results...

Featured Content

  • 10 Common Excel Mistakes to Avoid
  • Top Excel Functions for Data Analysts
  • Secrets to Building Excel Dashboards in Less Than 15 Minutes
  • Pro Excel Formula Writing Tips
  • Hidden Excel Double-Click Shortcuts
  • Top 10 Intermediate Excel Functions
  • 5 Pro Excel Dashboard Design Tips
  • 5 Excel SUM Function Tricks
  • 239 Excel Keyboard Shortcuts

100 Excel Tips and Tricks eBook

Download Free Tips & Tricks

Subscribe to Our Newsletter

Receive weekly tutorials on Excel, Power Query, Power Pivot, Power BI and More.

We respect your email privacy

Guides and Resources

  • Excel Keyboard Shortcuts
  • Excel Functions
  • Excel Formulas
  • Excel Custom Number Formatting
  • ALT Codes
  • Pivot Tables
  • VLOOKUP
  • VBA
  • Excel Userforms
  • Free Downloads

239 Excel Keyboard Shortcuts

Download Free PDF

Free Webinars

Excel Dashboards Webinar

Watch our free webinars and learn to create Interactive Dashboard Reports in Excel or Power BI

Click Here to Watch Now

mynda treacy microsoft mvpHi, I'm Mynda Treacy and I run MOTH with my husband, Phil. Through our blog, webinars, YouTube channel and courses we hope we can help you learn Excel, Power Pivot and DAX, Power Query, Power BI, and Excel Dashboards.

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk – For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.