Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
PRODUCTS
DOWNLOADS
SUPPORT
FORUMS
BLOG
ABOUT US
PURCHASE
by Svetlana Cheusheva
9 Comments
10
The tutorial shows how to protect Excel sheet with or without passwords. It also explains how to unlock
Excel spreadsheet without password if you forgot or misplaced it.
When sharing your worksheets with other people or sending your Excel les outside of your
organization, you may want to prevent other users from changing cells that shouldn't be changed,
and also from moving or deleting important data in your worksheet or workbook.
Like
Luckily, Excel provides a quick and easy way to lock a sheet or password protect an entire
workbook to prevent accidental or deliberate changes in their contents.
So, does this mean that Excel worksheet protection is absolutely pointless? Not at all! It makes
sense to lock Excel sheets to avoid accidental changes in the sheet contents. A common example
is Locking formula cells to prevent inadvertent erasure or modication of formulas.
The bottom line is - lock an Excel spreadsheet to prevent other users from accidentally tampering
with your data, but never store sensitive information in your Excel sheets.
If you strive to ensure the maximum security protection for your Excel les, be sure to do all of
the following:
1. Use the modern versions of Excel 2010, Excel 2013, and 2016 with enhanced data encryption
mechanisms.
2. Protect your sheets with strong passwords that include dierent 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.
3. Protect the workbook structure to prevent other people from adding, moving, renaming,
deleting or unhiding your sheets.
4. For workbook-level security, encrypt the workbook with dierent passwords from opening and
modifying.
5. If possible, store your Excel les with sensitive information in a secure location, e.g. on an
encrypted hard drive.
Excel
Excel add-ins
Excel formatting
Excel formulas
Excel functions
Excel PivotTables
Excel randoms
Excel tips
Excel tutorials
Excel Vlookup
Google Sheets
new release
Outlook add-ins
Outlook
Outlook BCC
Outlook calendar
Outlook duplicates
Outlook templates
To password protect your Excel sheet, type a password in the corresponding eld. Be sure
Outlook tips
to remember the password or store it in a safe location because you will need it later to
unprotect the sheet.
Video
3. The Conrm 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!
Sign in
Register
Log in
PowerPoint
On theHometab, in the Cellsgroup, click Format, and selectUnprotect Sheetfrom the dropdown 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.
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.
SubPasswordBreaker()
'Breaksworksheetpasswordprotection.
DimiAsInteger,jAsInteger,kAsInteger
DimlAsInteger,mAsInteger,nAsInteger
Dimi1AsInteger,i2AsInteger,i3AsInteger
Dimi4AsInteger,i5AsInteger,i6AsInteger
OnErrorResumeNext
Fori=65To66:Forj=65To66:Fork=65To66
Forl=65To66:Form=65To66:Fori1=65To66
Fori2=65To66:Fori3=65To66:Fori4=65To66
Fori5=65To66:Fori6=65To66:Forn=32To126
ActiveSheet.UnprotectChr(i)&Chr(j)&Chr(k)&_
Chr(l)&Chr(m)&Chr(i1)&Chr(i2)&Chr(i3)&_
Chr(i4)&Chr(i5)&Chr(i6)&Chr(n)
IfActiveSheet.ProtectContents=FalseThen
MsgBox"Oneusablepasswordis"&Chr(i)&Chr(j)&_
Chr(k)&Chr(l)&Chr(m)&Chr(i1)&Chr(i2)&_
Chr(i3)&Chr(i4)&Chr(i5)&Chr(i6)&Chr(n)
ExitSub
EndIf
Next:Next:Next:Next:Next:Next
Next:Next:Next:Next:Next:Next
EndSub
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 nd 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.
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.
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.
3. In the Password box, type a password, and click the OK button.
As indicated on the dialog window, a password is optional. However, if you do not enter a
password, then anybody will be able to unlock your workbook with a button click.
4. Retype the password in the Conrm Password window and click OK. That's it!
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.
4. Save your workbook.
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 les further by using the
BitLocker Drive Encryption, which is available in the Ultimate and Enterprise editions of
Windows Vista and Windows.
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 le 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 dierent ones.
4. Retype the password in the Conrm Password dialog, and click OK. If you've entered 2
passwords in the previous step, you will be asked to conrm both.
5. Finally, click the Save button in the Save As dialog.
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.
Rajesh says:
May 18, 2016 at 4:40 pm
hi
one help please
i have one excel sheet i want give that to one of my friend but i want set limit the for copying
sheet
such as if i set limit for one time copy then after pasting it no more copy can be made or it
should ask for password please help as early as possible or is there any other way to solve
my problem
Reply
Anonymous says:
May 19, 2016 at 9:37 am
How can prevent other from copying a protected worksheet
Reply
When I follow your instructions, which are very good, when i click on protect workbook, the
drop down window opens but nothing is clickable? Any thoughts as to why these options
won't work for me? Also, on the tools drop down, the only line that can be completed is the
second line, the rst line won't allow me to put in a password, after I go to "save as" and
select the le.
John
Reply
wami says:
June 7, 2016 at 10:05 pm
worked like charm,
saved many hours of trouble.
Very much appreciated.
Reply
Post a comment
Name
Name
name@example.com
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!