How to Remove a Forgotten Excel Password


Excel users often lock their files to protect data and calculations from unauthorized changes or accidental tampering. If you've forgotten your password, you can use an Excel macro that implements a simple brute force algorithm to unlock your worksheets or workbooks. Another method is to "unlock" the sheet by making an unprotected copy of its contents. This method may not prove to be effective, however, if the entire workbook itself is password-protected.

Duplicating the Protected Worksheet

  • Launch Excel. Open the workbook containing the sheet that you'd like to unlock.

  • Count the number of columns in your worksheet or take note of the header of the rightmost column. Be sure to take hidden formulas and columns into consideration.

  • Enter the following range into the Name Box (the text field located to the left of your Formula Bar).


    Replace "B" with the header of the rightmost column. For example, if the worksheet has 26 columns of data, it's rightmost header would be "Z."

  • Click the "Copy" button under the "Home" tab.

  • Create a new sheet by holding down "Shift" and pressing "F11."

  • Select cell "A1" on the new sheet. Click the "Paste" button under the Home tab. You now have an unprotected copy of the protected worksheet.

Using the AllInternalPasswords Macro

  • Download the "allinternalpasswords.xls" workbook (see Resources for a link). This workbook contains the macro that you need for unlocking protected workbooks and sheets. Open it by double-clicking on its icon.

  • Open the workbook that you'd like to unlock.

  • Go to the "Add-Ins" tab. Click the "Remove Passwords" button. If it's not there, make sure that you have "allinternalpasswords.xls" open.

  • Click "OK" to start unlocking your workbook and worksheets. This may take from two two to five minutes, depending on the length of the password, the size of the file and the version of Excel you are using.

Tips & Warnings

  • Unlock sheets and workbooks only if they belong to you or if you are authorized to view them. It's often considered offensive and unethical to unlock another person's protected file without permission.
  • It's good idea to scan files that you download with a reliable antivirus or antispyware program.

Related Searches


  • Photo Credit Chad Baker/Photodisc/Getty Images
Promoted By Zergnet



You May Also Like

Related Searches

Check It Out

Geek Vs Geek: Robot battles, hoverboard drag race, and more

Is DIY in your DNA? Become part of our maker community.
Submit Your Work!