Professional Documents
Culture Documents
Excel worksheet protection is quite weak even in the recent versions of Excel 2013 and Excel
2016. If you need to edit a password protected sheet but you cannot remember the password,
try to unlock that Excel spreadsheet by using one of the following methods.
Unlock Excel spreadsheet with VBA code (for Excel 2010 and lower)
If you are using Excel 2010 or older version, you can unlock a password-protected sheet with
the following macro.
Press Alt + F11 to open the Visual Basic Editor.
Right-click the workbook name on the left pane (Project-VBAProject pane) and
select Insert > Module from the context menu.
In the window that appears, paste in the following code:
Sub PasswordBreaker()
'Breaks worksheet password protection.
Exit Sub
End If
Exit Sub
End If