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

Moving Quickly Between Directories

Want an easy way to move between directories using the Open dialog box? With just a little bit of up-front typing, you ...

Discover More

Exact Formula Copies

When you copy a formula from one cell to another, Excel normally adjusts the cell references within the formula so they ...

Discover More

Checking for Time Input

Need to know if a cell contains a time value? Excel doesn't contain an intrinsic worksheet function to answer 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 (ribbon)

Using Strong Workbook Protection

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

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

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
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 seven minus 2?

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.