Changing a Workbook Password

Written by Allen Wyatt (last updated October 21, 2023)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021


Paul has a workbook containing sensitive information. This workbook is password protected. However, the password may have been compromised. Paul wonders if there is a way to change the password associated with a workbook.

Assuming this is actual workbook protection (as opposed to worksheet protection), changing the password is fairly easy. It is important to remember, though, that there are two ways you can password-protect a workbook.

If you can open the workbook and actually see the contents, without needing to enter a password, then follow these steps to change the password:

  1. Display the Review tab of the ribbon.
  2. Click the Protect Workbook tool, in the Protect group. Excel displays a dialog box asking for your password. This is your old password; go ahead and enter it.
  3. Click again on the Protect Workbook tool. Excel displays the Protect Structure and Windows dialog box.
  4. Enter, twice, whatever new password you want used for the workbook.
  5. Click OK. Excel closes the dialog box.
  6. Save your workbook.

At this point your workbook has a new password.

In Paul's situation, though, I suspect it is the second type of password that has been applied to the workbook. This password is required of the user when you first attempt to open the workbook. To change this password, follow these steps:

  1. Open the workbook using the old password.
  2. Display the File tab of the ribbon.
  3. At the left side of the screen, click the Info option.
  4. Click the Protect Workbook option. Excel displays several different protection options.
  5. Click the Encrypt with Password option. Excel displays the Encrypt Document dialog box, and there is already a password in the dialog box, displayed as a series of dots. This is the workbook's existing password.
  6. Delete the existing password, enter a brand-new password, and then click on OK. Excel asks you to confirm the password.
  7. Enter your new password a second time and click OK again.
  8. Save and close your workbook.

That's it; the password for opening the workbook has been updated. There is also another way to make changes to the password, and that is to open the workbook and then use Save As (press F12). In the resulting dialog box, click Tools | General Options. Here you can, once again, set the passwords for the workbook.

Remember that if there are older copies of the workbook in existence, changing the password doesn't affect them—it only affects the workbook you just saved.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (9925) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021.

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

Duplicating Drawing Objects

Using the copy and paste techniques you already know, you can copy and paste drawing objects. In this way, you can ...

Discover More

Safely Relocking Forms

In order to use a form in Word, it must be protected. This means that you cannot make any changes to the form, even if ...

Discover More

Showing Print Preview for the Current Page

The Print Preview feature in Excel can be quite helpful. You might think it would be more helpful, though, if it ...

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 (ribbon)

Protecting a Workbook from Opening in Other Programs

When working with sensitive information, you always need to be concerned that your data doesn't fall into unwanted hands. ...

Discover More

Saving a Workbook Using Passwords

If you want to protect your workbook so that others cannot open or change the information it contains, an easy way to ...

Discover More

Always Opening a Workbook that is Editable

When you send a workbook to a coworker, it can be bothersome if that person has problems using what you created. There is ...

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 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.

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.