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

Checking for an Entry in a Cell

You may be looking for a way to have a formula determine if a particular cell has anything in it. Here's how you can find ...

Discover More

Creating a Plus/Minus Button

Want a quick way to convert positive values to negative and vice versa? You can create your own plus/minus button by ...

Discover More

Spell Checking Not Catching a Misspelled Word

Word allows you to accept words as correctly spelled, even if they aren't. This tip explains how to track down those ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More ExcelTips (ribbon)

Protecting an Entire Workbook

Want to stop other people from making unauthorized changes to your workbook? Excel provides a way that you can protect ...

Discover More

Removing Protection from a Protected Workbook

Excel provides built-in capabilities to protect your workbook files. If you apply these capabilities, it is possible that ...

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 8 + 0?

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.