Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, and 2013. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Protecting an Entire Workbook.
by Allen Wyatt
(last updated November 23, 2016)
Excel provides a way that you can protect an entire workbook. To stop the user from taking actions such as renaming a worksheet or inserting new worksheets, you must use workbook-level protection. To protect your workbook, display the Review tab of the ribbon and click the Protect Workbook tool in the Changes group. Excel displays the Protect Structure and Windows dialog box. (See Figure 1.)
Figure 1. The Protect Structure and Windows dialog box.
The two check boxes in the dialog box allow you to indicate exactly what should be protected in the workbook. The choices are as follows:
At the bottom of the dialog box you can specify a password to use for this level of protection. When you click the OK button Excel asks you to repeat any password you specified. If you did not provide a password, then Excel simply protects your workbook directly.
If you later want to remove the protection applied to a workbook, you do so by following the same steps you used to protect it: Display the Review tab of the ribbon and click the Protect Workbook tool in the Changes group. If you used a password to protect the workbook, Excel displays the Unprotect Workbook dialog box. At this point, all you need to do is enter the correct password and the workbook is unprotected.
You should note that protecting a workbook without protecting the worksheets it contains doesn't offer much protection. (Protecting worksheets is covered in other issues of ExcelTips.) The reason is that even though a user cannot delete a worksheet in a protected workbook, they can delete the information the worksheet contains. In other words, workbook protection does not protect the contents of your workbook at any level "lower" than individual worksheets.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (8530) applies to Microsoft Excel 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Excel here: Protecting an Entire Workbook.
Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!
Want to protect the Excel information stored in a particular folder on your system? There are a number of ways you can ...Discover More
Need to protect the data in your workbook so that others can't get at it? Here are some ideas on how you can approach the ...Discover More
Excel allows you to protect your worksheet data in several different ways. Unfortunately, it doesn't allow you to protect the ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.