Академический Документы
Профессиональный Документы
Культура Документы
10
The tutorial shows how to protect Excel sheet with or without passwords. It also explains how to unlock Excel Custom Search
spreadsheet without password if you forgot or misplaced it.
When sharing your worksheets with other people or sending your Excel files outside of your
organization, you may want to prevent other users from changing cells that shouldn't be changed, Excel: featured articles
and also from moving or deleting important data in your worksheet or workbook.
Merge multiple sheets into one
Luckily, Excel provides a quick and easy way to lock a sheet or password protect an entire Compare 2 Excel files/sheets for
workbook to prevent accidental or deliberate changes in their contents. differences
2. Protect your sheets with strong passwords that include different types of alpha numeric
characters and special symbols. At that, try to make passwords as random as possible, for
example by using our password generating tool.
https://www.ablebits.com/office-addins-blog/2016/02/10/protect-unprotect-excel-shee... 12/14/2017
How to protect worksheets and unprotect Excel sheet without password Page 2 of 9
3. Protect the workbook structure to prevent other people from adding, moving, renaming, Excel formulas
deleting or unhiding your sheets.
Excel functions
4. For workbook-level security, encrypt the workbook with different passwords from opening and
Excel PivotTables Excel charts
modifying.
Excel Vlookup
5. If possible, store your Excel files with sensitive information in a secure location, e.g. on an
encrypted hard drive.
Excel duplicates
Merge data in Excel
Excel formatting
How to protect Excel sheet Excel consolidation Excel date
To protect a sheet in Excel 2016, 2013 and 2010, perform the following steps. Excel time Excel tutorials
1. Right click a worksheet tab at the bottom of your screen and select Protect Sheet from the Excel tips Google Sheets
context menu. Google Docs Outlook duplicates
Or, clickthe Protect Sheet button on theReviewtab, in the Changesgroup. Outlook templates Video
Sign in
Register
Log in
To password protect your Excel sheet, type a password in the corresponding field. Be sure
to remember the password or store it in a safe location because you will need it later to
unprotect the sheet.
If the worksheet protection is nothing more than a precaution against accidental modification
of the sheet contents by yourself or by the members of your local team, you may not want to
bother about memorizing the password and leave the password field empty. In this case,
unprotecting the sheet takes just a single click on the Unprotect Sheet button on the ribbon or
in the sheet tab's right-click menu.
By default, the following 2 options are selected: Select locked cells and Select unlocked cells. If
you leave only these two options selected, the users of your sheet, including yourself, will
be able only to select cells (both locked and unlocked).
To allow some other actions such as sorting, filtering, formatting cells, deleting or inserting
rows and columns, check the corresponding boxes.
If you don't check any action, users will only be able to view the contents of your Excel
sheet.
3. The Confirm Password dialog box will pop-up prompting you to retype the password so that an
accidental misprint won't lock your Excel sheet forever. Retype the password and click OK.
Done!
https://www.ablebits.com/office-addins-blog/2016/02/10/protect-unprotect-excel-shee... 12/14/2017
How to protect worksheets and unprotect Excel sheet without password Page 3 of 9
Right-click the sheet tab, and select Unprotect Sheet from the context menu.
On theHometab, in the Cellsgroup, click Format, and selectUnprotect Sheetfrom the drop-
down menu.
If you are dealing with a password-protected worksheet, Excel will ask you to enter the
password. Type the password and click OK.
If the worksheet was not protected with password, clicking the Unprotect Sheetbutton is all it
takes to unlock the sheet.
https://www.ablebits.com/office-addins-blog/2016/02/10/protect-unprotect-excel-shee... 12/14/2017
How to protect worksheets and unprotect Excel sheet without password Page 4 of 9
As mentioned in the beginning of this tutorial, 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.
2. Right-click the workbook name on the left pane (Project-VBAProject pane) and select Insert >
Module from the context menu.
Sub PasswordBreaker()
?
'Breaks worksheet password protection.
Exit Sub
End If
4. Press F5 or click the Run button on the toolbar and wait a couple of minutes. The macro will
report a cracked password, which is not the original one (always some combination of A's and
B's), but nevertheless it works.
If you are not very comfortable with VBA, you can find the detailed guidance in the following
tutorial: How to insert and run VBA code in Excel.
If you need to unprotect Excel sheet without password in the modern versions of Excel 2013 and
Excel 2016, try one of free tools, for example Password Protection Remover add-in for Excel.
2. With the cursor positioned in cell A1, press Shift + Ctrl + End to select all used cells in the
worksheet.
4. Create a new sheet in the current workbook or in a different workbook (to create a new Excel
file, simply press Ctrl + N ).
5. In the new blank worksheet, place the cursor in A1 and press Ctrl + V to paste the contents of
the password-protected sheet.
Notes:
This method works only if the Select locked cells and Select unlocked cells actions are allowed in
the protected spreadsheet.
https://www.ablebits.com/office-addins-blog/2016/02/10/protect-unprotect-excel-shee... 12/14/2017
How to protect worksheets and unprotect Excel sheet without password Page 5 of 9
If the password-protected worksheet has external links to other sheets or workbooks, you
may need to re-create those links manually.
You can use Paste Special to copy / paste the column widths so you won't need to adjust them
in the new sheet manually.
Check theStructure box to protect the structure of a workbook. This will prevent the
following actions:
Inserting new sheets and chart sheets. However, users will be able to insert a chart in an
existing worksheet.
Check the Windowsbox to retain the size and position of workbook windows. This will
prevent users from moving, resizing, minimizing, or closing the workbook windows.
Note. The Windows option is not available (greyed out) in Excel 2013 and Excel 2016, as
shown in the screenshot above. It is because Microsoft introduced the Single Document
Interface in Excel 2013, where each workbook has its own top-level window that can be
minimized, restored, and closed.
4. Retype the password in the Confirm Password window and click OK. That's it!
1. Click the Protect Workbook button again (in a locked workbook, it is highlighted in green like in
the screenshot below):
https://www.ablebits.com/office-addins-blog/2016/02/10/protect-unprotect-excel-shee... 12/14/2017
How to protect worksheets and unprotect Excel sheet without password Page 6 of 9
Important note! Protecting the workbook structure should not be confused with workbook-
level password encryption that can prevent other users from opening or/and modifying your
workbook. If you are interested in this level of workbook protection, check out the next sections
of this tutorial.
1. In the workbook you want to encrypt, click File > Info, click the Protect Workbook button, and
select Encrypt with Password in the drop-down menu.
2. The Encrypt Document window will appear, you enter a password in the Password box, and click
OK.
.
By default, Microsoft Excel uses AES 128-bit advanced encryption, and you can supply a
password up to 255 characters.
3. Retype the password in the Reenter password box, and click OK.
To remove the workbook encryption, repeat the above steps, delete the password from the
Password box, click OK, and then save your workbook.
Tip. In addition to password-protection, you can secure your Excel files further by using the
BitLocker Drive Encryption, which is available in the Ultimate and Enterprise editions of
Windows Vista and Windows.
1. In your Excel workbook, click the Save As button, and then click the Tools button at the bottom
of the window.
https://www.ablebits.com/office-addins-blog/2016/02/10/protect-unprotect-excel-shee... 12/14/2017
How to protect worksheets and unprotect Excel sheet without password Page 7 of 9
3. In the General Options dialog window, type a password in the Password to modify box.
Additionally, you can select the Read-only option, which is recommended.
Tip. If you want to protect your Excel file both from modifying and opening, type the
passwords in the Password to open and Password to modify boxes. It can be the same
password of two different ones.
4. Retype the password in the Confirm Password dialog, and click OK. If you've entered 2 passwords
in the previous step, you will be asked to confirm both.
To remove the password protection, repeat the above steps, and delete the password(s) from
the Password to open and Password to modify boxes. Then click the Save button to save your
workbook.
This is how you can protect an Excel sheet and lock the entire workbook from changing or
opening. However, sometimes you may not want to go that far and rather lock only certain cells in
your sheet. And this is exactly what we are going to discuss in the next article. I thank you for
reading and hope to see you on our blog next week.
https://www.ablebits.com/office-addins-blog/2016/02/10/protect-unprotect-excel-shee... 12/14/2017
How to protect worksheets and unprotect Excel sheet without password Page 8 of 9
1 Maz says:
November 20, 2017 at 12:14 pm
Reply
I have run the above code for unlocking excel sheet, its work for 1 file but its not working for
another file. Please help to unblock the same.
Reply
3 Jannine says:
December 2, 2017 at 10:18 pm
Hi, I am trying to unprotect an excel document without knowing the password. It has been
saved in excel 2010 and I have tried copying and pasting your password breaker code but I
get an compile error - sub or function not defined.
Reply
Reply
Reply
Older Comments
Post a comment
Name
Send
Unfortunately, due to the volume of comments received we cannot guarantee that we will be
able to give you a timely response. When posting a question, please be very clear and concise.
We thank you for understanding!
https://www.ablebits.com/office-addins-blog/2016/02/10/protect-unprotect-excel-shee... 12/14/2017
How to protect worksheets and unprotect Excel sheet without password Page 9 of 9
https://www.ablebits.com/office-addins-blog/2016/02/10/protect-unprotect-excel-shee... 12/14/2017