Protect Workbook in Excel

Article byWallstreetmojo Team
Edited byAshish Kumar Srivastav
Reviewed byDheeraj Vaidya, CFA, FRM

How to Protect an Excel Workbook?

Protecting Excel workbooks is a method where we save the whole workbook rather than a single sheet. It means saving the entire structure of the workbook. If a workbook is protected with a password, no other user can insert a new sheet or delete any sheet. Neither can they view the hidden sheets or even change the name of the worksheets in the workbook.

Follow the below steps to learn how to protect a workbook.

  1. Go to the “File” tab and click on it.


    Protect Workbook Excel Example 1-1

  2. Once we click on the “File” tab, we can see various options. For example, we see a box protecting the workbook in the info section.

    Protect Workbook Excel Example 1-2

    It says that the workbook’s structure is locked to prevent any changes.

  3. If the workbook is not protected, the message would be as follows:


    Protect Workbook Excel Example 1-3

Example of Protecting a Workbook in Excel

First, we will try to protect a workbook as a whole so that nobody can make any change in any of the worksheets or any cells without any password.

–>> If you want to learn Excel and VBA professionally, then ​Excel VBA All in One Courses Bundle​ (35+ hours) is the perfect solution. Whether you’re a beginner or an experienced user, this bundle covers it all – from Basic Excel to Advanced Excel, Macros, Power Query, and VBA.

In this example, we are using Excel version 2013, so we will protect the workbook’s structure and then try to change the name of worksheet 3, which we have named “Anand.” Now, we want to change it to “Aran.”

It is very simple.

1) Click on “Protect Workbook” under the changes section in the “Review” tab.

Protect Workbook Excel Example 1-5

2)  A dialog box pops up.

Protect Workbook Excel Example 1-6

3) We will enter the same password, “EDUCBA,” to protect our Excel workbook and click on “OK.”

Protect Workbook Excel Example 1-7

4) It asks us to re-enter the password. When we click on “OK,” the whole workbook is protected.

Example 1-8

5) Now, let us see what the original name of “Sheet 3” was earlier.

Example 1-9

6) As the workbook is protected, double-click on the sheet name. As a result, we get the following display message.

Example 1-10

7) We can also try to right-click on sheet 3 to see if we can change the sheet name by that method.

Example 1-11

We can see that the “Rename,” “Insert,” “Delete,” or “Move,” and the “Copy” options have been disabled as we have protected the workbook.

8) We can also try to add a new worksheet from the “plus” sign beside the worksheet named “ANAND,” but we can see that we cannot as the “+” sign is disabled.

Example 1-12

After protecting the workbook’s structure, any user cannot make changes to the protected workbook’s structure.

Things to Remember

  1. Protecting workbooks is different from protecting worksheets.
  2. In Excel version 2013 and above, we can only protect the workbook’s structure as the windows “Resize” option is disabled in the later versions.
  3. In Excel version 2010 and below, we can protect both structure and windows size options as resize available in the previous versions of Excel.
  4. It is advised to protect an Excel workbook with a password so that any other user cannot unprotect it easily and change the workbook’s structure.
  5. It is also recommended to remember the password, as once the password is lost, we cannot unprotect the Excel workbook again.

Recommended Articles

This article is a guide to Protect Workbook in Excel. We learn how to protect the workbook in Excel, practical examples, and downloadable Excel templates. You may learn more about Excel from the following articles: –

Reader Interactions

Leave a Reply

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