Professional Documents
Culture Documents
The tutorialshow s how to protectExcelsheetw ith orw ithoutpassw ords.Italso explains how to unlock
Excelspreadsheetw ithoutpassw ord ifyou forgotorm isplaced it.
W hen sharing your w orksheets w ith other people or sending your Excelles outside ofyour
organization,you m ay w antto preventother users from changing cells thatshouldn'tbe changed, Excel:featured articles
and also from m oving or deleting im portantdata in your w orksheetor w orkbook.
M erge m ultiple sheets into one
Luckily,Excelprovides a quick and easy w ay to lock a sheetor passw ord protectan entire Com pare 2 Excelles/sheets for
w orkbook to preventaccidentalor deliberate changes in their contents. dierences
1 of 19 9/24/2017, 7:08 PM
How to protect worksheets and unprotect Excel sheet without password https://www.ablebits.com/office-addins-blog/2016/02/10/protect-unpro...
Sign in
Register
Log in
To passw ord protect your Excelsheet,type a passw ord in the corresponding eld.Be sure
to rem em ber the passw ord or store itin a safe location because you w illneed itlater to
unprotectthe sheet.
By default,the follow ing 2 options are selected:Selectlocked cells and Selectunlocked cells.If
you leave only these tw o options selected,the users ofyour sheet,including yourself,w ill
be able only to selectcells (both locked and unlocked).
Ifyou don'tcheck any action,users w illonly be able to view the contents ofyour Excel
sheet.
Able
easy
2 of 19 9/24/2017, 7:08 PM
How to protect worksheets and unprotect Excel sheet without password https://www.ablebits.com/office-addins-blog/2016/02/10/protect-unpro...
D one!
H ow to unprotectExcelsheet
As you have justseen,it's very easy to passw ord protecta sheetin Excel.U nprotecting a
spreadsheetis even easier,provided thatyou know the passw ord.Though,unlocking an Excel
spreadsheetw ithoutpassw ord is no big dealeither :)
Right-click the sheettab,and selectU nprotect Sheet from the contextm enu.
O n theHom etab,in the Cellsgroup,click Form at,and selectU nprotect Sheetfrom the drop-
dow n m enu.
Able
easy
3 of 19 9/24/2017, 7:08 PM
How to protect worksheets and unprotect Excel sheet without password https://www.ablebits.com/office-addins-blog/2016/02/10/protect-unpro...
U nlock Excelspreadsheetw ith VBA code (for Excel2010 and low er)
Ifyou are using Excel2010 or older version,you can unlock a passw ord-protected sheetw ith the
follow ing m acro.
Sub PasswordBreaker() ?
'Breaksworksheetpasswordprotection.
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)
If ActiveSheet.ProtectContents=False Then
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)
Exit Sub
End If
Next:Next:Next:Next:Next:Next
Next:Next:Next:Next:Next:Next
End Sub
4. Press F5 or click the Run button on the toolbar and w aita couple ofm inutes.The m acro w ill
reporta cracked passw ord,w hich is notthe originalone (alw ays som e com bination ofA's and
B's),butnevertheless itw orks.
Ifyou are notvery com fortable w ith VBA,you can nd the detailed guidance in the follow ing
tutorial:H ow to insertand run VBA code in Excel.
Ifyou need to unprotectExcelsheetw ithoutpassw ord in the m odern versions ofExcel2013 and
Excel2016,try one offree tools,for exam ple Passw ord Protection Rem over add-in for Excel.
2. W ith the cursor positioned in cellA1,press Shift+ Ctrl+ End to selectallused cells in the
w orksheet.
4 of 19 9/24/2017, 7:08 PM
How to protect worksheets and unprotect Excel sheet without password https://www.ablebits.com/office-addins-blog/2016/02/10/protect-unpro...
N otes:
This m ethod w orks only ifthe Selectlocked cells and Selectunlocked cells actions are allow ed in
the protected spreadsheet.
You can use Paste Specialto copy /paste the colum n w idths so you w on'tneed to adjustthem
in the new sheetm anually.
Inserting new sheets and chartsheets.H ow ever,users w illbe able to inserta chartin an
existing w orksheet.
Check the W indow sbox to retain the size and position ofw orkbook w indow s.This w ill
preventusers from m oving,resizing,m inim izing,or closing the w orkbook w indow s.
4. Retype the passw ord in the Con rm Passw ord w indow and click O K.That's it!
5 of 19 9/24/2017, 7:08 PM
How to protect worksheets and unprotect Excel sheet without password https://www.ablebits.com/office-addins-blog/2016/02/10/protect-unpro...
Im portant note!Protecting the w orkbook structure should notbe confused w ith w orkbook-
levelpassw ord encryption thatcan preventother users from opening or/and m odifying your
w orkbook.Ifyou are interested in this levelofw orkbook protection,check outthe next
sections ofthis tutorial.
1. In the w orkbook you w antto encrypt,click File > Info,click the ProtectW orkbook button,and
selectEncrypt w ith Passw ord in the drop-dow n m enu.
2. The EncryptDocum entw indow w illappear,you enter a passw ord in the Passw ord box,and click
O K.
.
3. Retype the passw ord in the Reenter passw ord box,and click O K.
To rem ove the w orkbook encryption,repeatthe above steps,delete the passw ord from the
Able
easy
6 of 19 9/24/2017, 7:08 PM
How to protect worksheets and unprotect Excel sheet without password https://www.ablebits.com/office-addins-blog/2016/02/10/protect-unpro...
1. In your Excelw orkbook,click the Save As button,and then click the Tools button atthe bottom
ofthe w indow .
3. In the GeneralO ptions dialog w indow ,type a passw ord in the Passw ord to m odify box.
Additionally,you can selectthe Read-only option,w hich is recom m ended.
Tip.Ifyou w antto protectyour Excelle both from m odifying and opening,type the
passw ords in the Passw ord to open and Passw ord to m odify boxes.Itcan be the sam e
passw ord oftw o dierentones.
4. Retype the passw ord in the Conrm Passw ord dialog,and click O K.Ifyou've entered 2
passw ords in the previous step,you w illbe asked to conrm both.
To rem ove the passw ord protection,repeatthe above steps,and delete the passw ord(s)from
the Passw ord to open and Passw ord to m odify boxes.Then click the Save button to save your
w orkbook.
This is how you can protectan Excelsheetand lock the entire w orkbook from changing or
opening.H ow ever,som etim es you m ay notw antto go thatfar and rather lock only certain cells in
Able
easy
7 of 19 9/24/2017, 7:08 PM
How to protect worksheets and unprotect Excel sheet without password https://www.ablebits.com/office-addins-blog/2016/02/10/protect-unpro...
how to unprotected the w ork book w ithoutany passw ord,ifpassw ord is forget
Reply
Reply
H i!
Ifyo are using Excel2010 or earlier,you can unprotected the w orkbook w ithoutpassw ord
by using this script.
For Excel2013 or 2016,you can use one offree passw ord protection rem overs,for exam -
ple this one:
http://w w w .spreadsheet1.com /passw ord-protection-rem over-free-o ce-excel-add-
in.htm l
Reply
how to unprotected the w ork book w hich is in a form atm ade by others.
Reply
Reply
4 chisom israelonah.says:
M ay 2,2016 at8:04 am
Reply
5 Rajesh says:
M ay 18,2016 at4:40 pm
Able
easy
8 of 19 9/24/2017, 7:08 PM
How to protect worksheets and unprotect Excel sheet without password https://www.ablebits.com/office-addins-blog/2016/02/10/protect-unpro...
should ask for passw ord please help as early as possible or is there any other w ay to solve
m y problem
Reply
6 Anonym oussays:
M ay 19,2016 at9:37 am
Reply
W hen Ifollow your instructions,w hich are very good,w hen iclick on protectw orkbook,the
drop dow n w indow opens butnothing is clickable? Any thoughts as to w hy these options
w on'tw ork for m e? Also,on the tools drop dow n,the only line thatcan be com pleted is the
second line,the rstline w on'tallow m e to putin a passw ord,after Igo to "save as"and select
the le.
John
Reply
8 w am isays:
June 7,2016 at10:05 pm
Reply
9 N ath says:
June 29,2016 at11:28 pm
can you save the passw ord as textin the VBA code so ifyou forgetyou can easily nd w ithout
running your sciptabove?
Reply
Am itsays:
August4,2016 at6:45 pm
Reply
10 Azazelsays:
July 3,2016 at8:14 am
Reply
Reply
12 Rachelsays:
July 11,2016 at8:59 am
Ihave also tried entering your VBA code,butw hen rightclick a box appears stating "Projectis
Able
easy
9 of 19 9/24/2017, 7:08 PM
How to protect worksheets and unprotect Excel sheet without password https://www.ablebits.com/office-addins-blog/2016/02/10/protect-unpro...
N ikkisays:
M arch 1,2017 at11:47 pm
Iam having the sam e issue and w ould love to nd resolution.Ihave severalw orksheets
thatare now greyed outfrom allow ing m e to highlightand release the protection.H elp!
Reply
Vanessa says:
April17,2017 at12:47 pm
Sam e thing happened to m e...check ifthe w orkbook is shared,Ithink thatis the prob-
lem ,you have to un-share it.G o to the Review tab and under the Changes group,click
Share W orkbook.Clear the Allow changes by m ore than one user atthe sam e tim eop-
tion.O nce you rem ove thatoption,itshould allow you to enter the passw ord.H ope it
w orks for you ;)
Reply
13 RahulBhoye says:
July 27,2016 at10:41 am
Thanks!!!!!
Reply
Tham ks.
Ihave Solve m y problem to guide m e.
Reply
15 w ayne says:
August5,2016 at1:33 pm
H iH ow to protectcertain row s/colum ns only in excel(w here m y form ula w illnotbe editable).
Thanks
Reply
16 John Alvessays:
August8,2016 at6:56 am
hi,
thanks
Reply
17 pratik says:
August17,2016 at11:59 am
Reply
18 jacksonlim bozsays:
August23,2016 at12:27 pm
Excelle passw ord breaker toolis available to rem ove lostpassw ord from Excelle.This ap-
plication enables to open locked W ord and Access le passw ord also w ithoutany obstruction.
Reply
19 Evan says:
August23,2016 at8:28 pm
Able
easy
10 of 19 9/24/2017, 7:08 PM
How to protect worksheets and unprotect Excel sheet without password https://www.ablebits.com/office-addins-blog/2016/02/10/protect-unpro...
20 Angelsays:
Septem ber 9,2016 at3:34 am
Reply
21 godfrey says:
Septem ber 13,2016 at11:52 am
Reply
22 Ivan says:
Septem ber 14,2016 at9:04 am
Reply
hello,
ihave hyperlinks to dierentsheets in m y excelw orkbook,butiw antto passw ord protect
them i.e.people cannotclick and go to thatparticular sheet...how do ido it? or alternatively a
w ay ofhiding sheetonly ifyou have a passw ord can you open the sheet...how do ido it?
Reply
24 SPO RK says:
Septem ber 20,2016 at2:25 pm
Reply
25 dan says:
Septem ber 21,2016 at3:43 pm
D ear sir,
Ihave protected shared Exceldoc.Ido notknow the passw ord,how can Irem ove the protec-
tion?.
Thanks
Reply
26 M rD says:
Septem ber 29,2016 at8:54 am
Reply
27 Boke says:
O ctober 7,2016 at5:06 am
H i,
ihave setExcelle(.xlsm )Passw ord protection from m odifying (!!)and allow ed to open the
le as read-only.H ow ican use VBA m acros to determ ine thatpassord protection from m odi-
fying is setor notbefore the le saving.
And how ican w rite in VBA m acros to unprotectand protectagain exactly for m odifying only ?
Reply
28 arifbhatisays:
O ctober 14,2016 at6:17 pm
Able
easy
11 of 19 9/24/2017, 7:08 PM
How to protect worksheets and unprotect Excel sheet without password https://www.ablebits.com/office-addins-blog/2016/02/10/protect-unpro...
29 N itin says:
O ctober 15,2016 at3:21 pm
Reply
Reply
31 Philip says:
O ctober 22,2016 at11:46 am
Idon'tthink the VBA scriptw orks to unlock a passw ord protected w orkbook in W indow s 10
w ith Excel2010.Pressing Alt-F11 doesn'taccess a listofw orkbook les.
Reply
32 RJsays:
O ctober 25,2016 at8:30 pm
Ihave tried this severaltim es w ith greatluck.Inow have an old w orkbook from lastyear.The
code w orks on som e sheets butnotallofthem .
Reply
33 dagm id says:
O ctober 28,2016 at8:02 am
H ithere,
thank you for your advice.ifVBAProjecthas protected how can irem ove passw ord.
N am e is notXLSX.XLSM
Thank you.
Reply
34 Abik says:
N ovem ber 5,2016 at11:39 am
Reply
35 G says:
N ovem ber 11,2016 at4:26 pm
Ifthe le is on a server thathas a rights m anagem entsystem you can also selectpeople from
the address book to have read only access
Reply
36 Yganesh Thakersays:
N ovem ber 16,2016 at6:01 am
Reply
Able
easy
12 of 19 9/24/2017, 7:08 PM
How to protect worksheets and unprotect Excel sheet without password https://www.ablebits.com/office-addins-blog/2016/02/10/protect-unpro...
Reply
38 Um esh says:
N ovem ber 21,2016 at8:11 am
Its W orking..............
Reply
39 Rijo says:
N ovem ber 26,2016 at10:39 am
D ear friend,
w hile iam trying RU N ...getting the error m essage of
pls help
Reply
40 Kelly says:
D ecem ber 1,2016 at12:26 pm
pls H elp!
Reply
41 Vasanth KS says:
D ecem ber 1,2016 at12:52 pm
H i,
Reply
42 Bobby says:
D ecem ber 7,2016 at10:14 am
Reply
43 Jam essays:
D ecem ber 12,2016 at3:08 pm
Reply
44 N alinisays:
D ecem ber 16,2016 at3:12 pm
Reply
45 Andy says:
D ecem ber 27,2016 at8:02 pm
O M G ,you saved m e hours and hours ofw ork.This VBIscriptw orked like a charm ....thanks
so m uch.
y
Able
easy
13 of 19 9/24/2017, 7:08 PM
How to protect worksheets and unprotect Excel sheet without password https://www.ablebits.com/office-addins-blog/2016/02/10/protect-unpro...
colum ns and cells on on the various w orksheets.The protection did notseem to be w orking
on a couple ofthe w orksheets and Iw as experim enting trying to getitto w ork.N ow Ihave
severalfunctions(Protect& unprotectw orksheet,protect& unprotectw orkbook,allow users
to editranges)highlighted in red and notfunctioning a all.H ow do Icorrectthis?
Reply
47 Ade says:
January 2,2017 at10:27 pm
Ihave a protected w orksheetand for gotthe passw ord.The VB scriptis notresponding w hen
irun the scripton m y excel2010.ithangs and ihave to go into w indow task m anager to end
the run.H elp
Reply
48 Sharm a says:
January 3,2017 at5:15 am
Seem s the passw ord protection can be easily broken.Please letm e know .
H elp!!
Reply
49 Em m a Jakssays:
January 9,2017 at12:09 am
Reply
50 Derek K says:
January 9,2017 at12:37 am
Reply
Reply
52 Anne says:
January 11,2017 at11:54 am
H I,
Iam w orking on a tem plate thatis w orkbook protected.Ican'trecallthe passw ord and ineed
to change the nam e ofa sheet.Please assist.Excel2016
Thanks.
Reply
53 Joey A.says:
January 13,2017 at11:19 pm
Ihave to say,this is totally aw esom e!IRARELY leave com m ents like this,butIw ould recom -
m end this to anyone w anting to protector unprotectexcelsheets!Thank you guys so m uch!
:)
Reply
54 M axw ellsays:
Able
easy
14 of 19 9/24/2017, 7:08 PM
How to protect worksheets and unprotect Excel sheet without password https://www.ablebits.com/office-addins-blog/2016/02/10/protect-unpro...
55 Rajsays:
January 15,2017 at6:04 am
Itried the above steps butthe excelis notresponding even after w aiting for 30 m ins.
Reply
56 N isarsays:
January 15,2017 at7:20 am
Reply
57 Aaron De Jesussays:
January 26,2017 at4:02 am
Reply
Really Itis G reat.You are really aw esom e.Thank you soo m uch.
Reply
59 Joseph says:
February 7,2017 at3:59 pm
Ihave attendance sheetw hich is notallow ing m e to editm ay be passw ord protected and
don'thave the passw ord please help
Reply
60 Am brica Jsays:
February 8,2017 at1:52 am
Reply
61 ratish says:
February 11,2017 at7:29 am
Reply
62 Rex says:
February 20,2017 at10:22 pm
Reply
63 Je says:
February 25,2017 at6:15 am
W e use Excel2010 atw ork for schedules.The w orksheets containing w ork schedules are pro-
tected from changes by em ployees w ith only m anagers having passw ord access.O ur issue is
thatoccasionally w hen em ployees go in to view the spreadsheetthe le becom es "locked for
editing"by the em ployee.M anagers can'tgetin to m ake changes.Even ifthe em ployee signs
in again,they often getthe sam e m essage (thatthe le is locked for editing by TH EM SELF).W e
are interested in preventing em ployees from being able to place the le in read only status at
all,and secondly how do w e getaround the read only status w hen an em ployee (w ho doesn't
Able
easy
15 of 19 9/24/2017, 7:08 PM
How to protect worksheets and unprotect Excel sheet without password https://www.ablebits.com/office-addins-blog/2016/02/10/protect-unpro...
64 PREM AL JO SHIsays:
M arch 5,2017 at10:26 am
TH AN KS A LO T
TH AN KS AG AIN
PREM AL JO SH I
Reply
65 jayeshkum arsays:
M arch 7,2017 at7:37 pm
Reply
66 nursays:
M arch 15,2017 at7:03 am
your inform ation is realy helpfull..Ifaced problem w ith m y ow n excell..as iam inserting data,
excelstoped w orking and restart..suddenly itbecom e protected sheetand cannotdo any-
thing to editit..iam atm y end because w hatto do,Ido notprotectthe sheetand even have
the passw ord to startw ith!!!!
Luckily Ifound outw ays to unprotectsheeteven w ithoutpassw ord..N ow can sm ile happily!!!
Reply
Its aw esom e.
Reply
68 Shreepad M Gandhisays:
M arch 30,2017 at8:53 am
Thanks.
Itw orked justas expected.
Reply
69 M onciarRosim a says:
April6,2017 at8:48 am
Reply
70 M ike says:
April6,2017 at12:00 pm
Reply
71 steve says:
April20,2017 at2:23 pm
Able
easy
16 of 19 9/24/2017, 7:08 PM
How to protect worksheets and unprotect Excel sheet without password https://www.ablebits.com/office-addins-blog/2016/02/10/protect-unpro...
72 Em m a says:
April21,2017 at12:44 pm
Reply
73 Bob says:
April28,2017 at2:13 pm
Is there a w ay to unlock a le w hich is protectw ith passw ord? (Im ean w hen the entire le is
protected).Itried using the VBA code and itonly w orked w hen partofthe w orkbook is pro-
tected.
Thank you!
Reply
Svetlana,
Thank you very m uch for the VB editor instruction,Iw as able to follow and rem ove the PW .I
w illbookm ark this site for future use.
Reply
75 shaw n says:
M ay 20,2017 at8:20 am
TH AN KS SO O O O O O O O O O O O O O M U CH ....
Reply
76 Fahad says:
M ay 23,2017 at7:56 am
Reply
77 Veeresh says:
M ay 26,2017 at4:49 pm
Thanks a lot
Reply
78 M eriam says:
June 19,2017 at4:13 pm
Reply
79 Saurabh says:
June 21,2017 at6:35 am
This is sim ply am azing...Iam aw estruck w ith the vba code thatitunprotected the sheet.I
w antto m aster vba butneed a perfecttraining program and how can Iw rite com plex codes
to m ake m y w ork m ore sim pler...Please advise.O nce again Thank you very m uch.
Reply
H ello,Saurabh,
Able
easy
17 of 19 9/24/2017, 7:08 PM
How to protect worksheets and unprotect Excel sheet without password https://www.ablebits.com/office-addins-blog/2016/02/10/protect-unpro...
Reply
This is Am azing.really help full,your are x-m an.O nce again Thank you very m uch.
Reply
81 Lahiru says:
July 26,2017 at2:47 am
Reply
82 Antony Shajisays:
August5,2017 at12:41 pm
Reply
83 Dw ayn says:
August8,2017 at2:39 pm
Reply
Reply
85 Sam says:
August17,2017 at10:26 am
Reply
86 cuong says:
August21,2017 at6:04 am
Reply
87 M O HD BAHAUDDIN says:
August31,2017 at5:04 am
dear sir
please guide m e for shortcutform ula for protected to unprotected under excel
Reply
88 Ben says:
August31,2017 at8:02 pm
Is there a w ay for one to unprotecta w orkbook ifthe entire w orkbook has been passw ord
protected/disabled,including the ability to insertVBA m odules? I'm only interested in being
able to view the m acros being used,and not*necessarily* the ability to m odify the coding,it-
self.
Reply
89 AKDSJF says:
Septem ber 1,201 at12 36 pm
Able
easy
18 of 19 9/24/2017, 7:08 PM
How to protect worksheets and unprotect Excel sheet without password https://www.ablebits.com/office-addins-blog/2016/02/10/protect-unpro...
90 rhein na says:
Septem ber 10,2017 at5:03 am
Reply
91 Hitesh says:
Septem ber 12,2017 at1:50 pm
Reply
92 Abdulfazith says:
Septem ber 16,2017 at5:32 am
Reply
93 sandeep says:
Septem ber 18,2017 at9:57 am
H i,
In m y w orkbook there are som e sheets w hich are protected and hidden.Iforgotthe pass-
w ord justw antto know how to retrieve those sheets.
Reply
Thanks Sir .
Reply
E-m ail(notpublished)
Send
19 of 19 9/24/2017, 7:08 PM