Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Protecting an Entire Workbook.

Protecting an Entire Workbook

Written by Allen Wyatt (last updated December 26, 2020)
This tip applies to Excel 97, 2000, 2002, and 2003


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, select Protection from the Tools menu and then choose the Protect Workbook option. This displays the Protect Workbook dialog box. (See Figure 1.)

Figure 1. The Protect Workbook dialog box.

The two check boxes at the top of the dialog box allow you to indicate exactly what should be protected in the workbook. The choices are as follows:

  • Structure. Prevents any changes to the worksheets themselves. The user cannot change the order of any worksheets, their names, add new ones, or delete existing ones.
  • Windows. Stops the user from moving any windows used in the workbook.

At the bottom of the dialog box you can specify a password to use for this level of protection. When you click your mouse on OK, 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 choosing Protection from the Tools menu and then Unprotect Workbook from the resulting submenu. 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 will be 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 (2231) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Protecting an Entire Workbook.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Returning the Left-most Characters

When working with text in a formula, you may need to extract the left-most characters from a string of text or from a ...

Discover More

ExcelTips: Powerful Lookup Functions

Want to access your data indirectly? The answer is to use Excel's lookup function. ExcelTips: Powerful Lookup ...

Discover More

Indenting a Table

Insert a table into your document and it normally appears aligned with the left margin. Word allows you to indent the ...

Discover More

Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!

More ExcelTips (menu)

Saving a Workbook Using Passwords

One of the security features built-in to Excel is the ability to save a workbook using a password that limits access to ...

Discover More

Using Macros in Protected Workbooks

Having problems with using macros in a protected workbook? There could be any number of causes (and solutions) as ...

Discover More

Protecting an Entire Folder of Workbooks

Want to protect the Excel information stored in a particular folder on your system? There are a number of ways you can ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is two more than 7?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.