0% found this document useful (0 votes)
331 views10 pages

VBA Code To Unlock A Locked Excel Sheet

VBA Code To Unlock A Locked Excel Sheet

Uploaded by

stjry
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
331 views10 pages

VBA Code To Unlock A Locked Excel Sheet

VBA Code To Unlock A Locked Excel Sheet

Uploaded by

stjry
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 10
structables evs mae Explore (haghtype-id!) Classes (classes!) Fs 0 (tagiype-dicategory-outside/enanne-camping!) Camping (tagitype-idictegory-outsidelchannel-camping)) (WlFusion) Fusion 360 (a/Fusion) Unprotect Unprotect Sheet Workbook’ ae A reeset tect bl ln ant re in Ifyou have ever forgotten a password for one of your excel worksheets you know how frustrating that can be. ‘The code used in this instruction is one of the simplest I've found. It wil generate a usable code that will unlock your protected sheet, I can't take credit for the code as I merely found itin a moment of need (and | can not find where the site is anymore)... 6000 | wont be much help iit doesn't VER Code to GHIGER ALEGRE EXER SHES oy oyt00memoersytooh Downton (/VBA-Code-To-UnlockLocked-Excel-Shee/?downloasepd Lockes-ExcetSheet) | 4Steps > + Collection I ade it Padatototnzentb Sep) Up (eccountaopr) I: shane thag/iynenidveatogory.crachannet-eather) Leather (tagtype- ‘Breaks worksheei password proieciion, + Colecion Made itl @Favorte sé Share~ om Dim i As Integer, j As Integer, k As Integer Dim 1 As Integer, m As Integer, n As Integer Dim it As Integer, i2 As Integer, i3 As Integer Dim id As Integer, i6 As Integer, i6 As Integer (On Error Resume Next For i= 65 To 66: For j = 65 To 66: For k = 65 To 66 For | = 65 To 66: For m= 85 To 66: Fori1 = 65 To 66 For I2 = 65 To 66: For i3 = 65 To 66: For if = 65 To 66 For 16 = 65 To 66: For i = 65 To 66: For n = 32 To 126 ActiveSheel. Unprotect Chri) & Chr() & Chr(k) & _, Chil) & Chri) & Chr(it) & Chr(i2) & Chr(i3) & _ Chr(4) & Chr(i5) & Chr(i6) & Chr(n) If ActiveSheet,ProtectContents = False Then MsgBox "One usable password is * & Chr() & Chr()) & _ Chr{k) & Chri!) & Chr(m) & Chr(i1) & Chr(i2) & _ Chr(i8) & Chri) & Chr(i) & Chr(i6) & Chr(n) Exit Sub End If Next: Next: Next: Next: Next: Next Next: Next: Next: Next: Next: Next End Sub Step 3: Run The Macro (Once the code is added run the Macro by selecting Run from the menu tab bar at the top of the VBA editor screen or simple press F5 Step 4: Use The Generated Code VBA Code To Unlock A Locked Excel Sheet by syiroa (imemverisytog)) Download (a"VBA-Code-To-Unlock-AL ocked-Excel-Sheet/?download=pd) i (:VBA-Code-To-Unlock-A-Locked-ExcetSheet) 4 Stops > + Colecion Made it w Favorite share Microsolt Excel One usable password is AAAAAAAAAAA The macro will return you to the worksheet you want to unprotect. An alert style box will appear with a usable code. In the Review menu tab click Unprotect sheet, Enter the generated code as the password and your done. Your sheet should be unlocked! ‘You should use this power wisely and responsibly only to unlock your own worksheets, VBA Code To Unlock A Locked Excel Sheet by syir09 iimemoerisyiroa/) nload (IdPVBA-Code-Te-Unlock-A-Locked-Excel-Sheet/?download=pd) Se phoowernenironsensesso-c.er Allis ¥ on M42 maves [ Postconmert ] svilana (nembersvitan) caenem (Roe | work a lot with Excel spreadsheets. Saving data is very important for me, because my tables have 25-30 sheets. | have been using Autosave function and set the save every 5 minutes. This is the best time, because if you set 2 rminutes, as is said in the article hitps:/hetmanrecovery.comlrecover_deleted_documentfexcel - the program is very "slow". Autosave data - very useful function. Its important not to forget to Include this feature If Excel software was reinstalled or upgraded. JonnyWtt (ImemberiJonnyW11) 16 days ago Rey anyone is interested, a few small changes and this can also be used to unlock password protected workbooks (as opposed to individual sheets) Line 12, replace "ActiveSheet” with "ThisWorkbook™ Line 15, replace "ActiveSheet ProtectContents” with "This Workbook ProtectStructure” moocows99 (Imembertmoocows99) 23 days ago Rey Cool! worked in 2018 Excel no worres, thanks! xobtqk223746 (/momberhxobtqk223748) 25 days ago mesh IMoresoft Password Recovery Bundle is the al-in-one password recovery software. It bundles more than 22 password recovery tools which can help you recover password for Windows administrator, MS Office documents, Outlook, ‘Access accounts, ete, Download iMoresoft Password Recovery Bundle and install on Windows PC. Launch the program, hitp:swwwimoresoft.com/password-recovery-bundle-html (tte: www imoresoft comipassword-recovery-bundle, htm) ce | srajké (Imembertsirajks) ‘@month ago Rest hitps:/excel xartifex.com (hitps:/excel xartifex.com) try this, it will work simply sandeeps124 (Imemberisandesps124) ‘month ago Reoy Thank you very much Mac. sandeops124 (Imemberisandeops124) ‘a month ago ow Thank you very much Mac. Himalaya02 (ImembertHimalaya02) ‘month ago Row Worked for me on an Excel 2016 for Mac. Thanks ! VBA Code To Unlock A Locked Excel Sheet by syir09 iimemberisyirog/) Dawes (latvBh Code To nlc ML oka nce Shee downsaa-p) th ago Reo Ey Touma colar cashed), 40 ns mina ve windew iene for me, I really wish this ‘worked. wil ry again but forthe last two tres, itseems to be Grtatty) Made) @ Favorte Unresponsive. (> MotaF2 (Imember/MetaF2) amonth ago Reoy Cie Works wih Excel 24161 Thanks dude! Ron Nasty ImemberiRton Nasty) ‘@month ago ey It didn't work on my Excel 2010 document. McHannaos (/momberiMcHannacs) ‘2 month ago soy IF your Excel sheet is password protected and you forgot the password, then you need to use an advanced Excel Password Recovery software. iSeePassword Office Password Recovery 5.0 is an easy and effective uty, designed to recover Microsoft Excel passwords, enabling you to easily view the ‘workbooks and sheets for the information Tutorial: now to recover forgotten excel password (tte: www.iseepassword.comirecaver-ms-excel-password,himl) would recommend you to try it Good luck! PatL38 (/memberiPatL38) ‘a month ago eo It didi’t work on my Excel 2013 document. :{ VenAnulat memberNvenAnulat) 2montrs ago Rey Wonderful! Thanks a lot! ceamott0 (Imemberleamo110) 2montrs ago Reo Worked 5/24/16 on a spreadsheet using Excel 2016, Program was non responsive for a few minutes but | waited it out and sure enough it worked. Those who are having freezing problems may not be waiting long enough. ‘AmandaC60 (Imember/Amandacé0) Tmontns ag0 Rey | know | have used this in the past but now it keeps freezing the sheet when I run it. | double-clicked on the sheet I wanted unlocked and added the code and ‘when [run iit freezes and | have to shut down, It used to work ke a charm so | ‘wonder if they put some other type of protect on this sheet. & FRichG27 (/memberiRichG27) > Amandac#0 (memseAmanéaCs0) sso Only freezes whole file in Excel 2016. (Not Responding). *™enhs 49° 0365, VBA Gode Tetiattooke A droeked Excel Street’ by syr09 (imemserniyrog/) 6¥hlbac (dnrshecbeloweinkkesersaktioncsrshbavedsonedoryay ike * TOMS 8° To-Unlock-A-Locked-FxcelSheet) 4 Steps» hitps:/www payumoney.comistore buyixtgmisrosoftox, (https:tiwww_payumoney.com/store/buy/ktgmicrosoftextelAlesabiutions)! Made tl Favorte iarvBA-Cov You tube Video https:/ww.youtube.comiwatch? feature=player_embedded&v=xwq3a1q90BUg (htipsiiwww.youtube,comiwatch? Jiays72 (ImomberiJay72) not working on 2016! 2montrs age me een membertinaead2) > Jys72 memeeriays72) 2mantrs ago Rey GB ty the below tink hitps:/www payumoney.com/store/buy/ktgmicrosofex, (htipsiiwww.payumoney.comstore/buylktgmicrosoftexcelmacrosolutions) You tube Video https:/iwww.youtube.comiwatch? feature=player_embedded&v=xwqxxq90BUg (https:lwwrw youtube.comiwatch? feature=player_embedded&v=xwqxxq90BUg) Nieyang (Imember/Nicyang) Smontrs ago Reel Hi i have try on this matter to solve my problem on the excel file that has been set password on the the file. butit did not show me anything on the VBA. the VBA is blank. how can i do on it? how can j open back the file with getting back the password? any one ean help me? Gaon Umambemnataa)» Neyer embaneya2 ment 992 Ty tre below ink hittps:/www: payumoney.comistore/buy/ktgmicrosoftex, (htipsziwww.payumoney.com/storerbuy’ktgmicrosoftexcelmacrosolutions) You tube Video https:/lwww.youtube,comiwatch? feature=player_embedded&v=xwqxxq90BUg (https:/iwww youtube.comiwatch? feature=player_embedded&v=xwgxxq90BUg) GG trem membarnaad2) > sane mamberkanrin) ey MB Ty tro blow nk Cheap stiton and have tone for you tke ?=n =F he hittps:/ww payumoney.comistore/buy/ktgmicrosoftex, (htipsiwww_payumoney.com/storerbuyikigmicrosoftexcelmacrosolutions) You tube Video hittps:/lwww.youtube.comiwatch? feature=player_embedded&v=xwqxxq90BUg VBA Code dm HINGER AIGARBREKGAARPEL oy sro0 ¢memoersyroa) Download (d"VBA-Code-To-Unlock-AL ocked-Excel-Sheet/?download=pet BE (asvBA-Co -To-Unlock-A-Locked-FxcelSheet) Steps > A montns age aay + Collection Made tl @Favorte te Unprotect Excel sheet without password using 7-ZIP This way only works for Excel fle in xlsx format. Hence, if your Excel workbook is in xls format, just open it and then save it as xlsx format. Step 1: Change the Excel file name extension from xlsx to zip. Just click on Yes to make sure when prompted. (itp: www isumsofcomvitiwp-content/uploads/2018/07irename-extension.png) Step 2: Open the ZIP archive as 7-ZIP. Open the folder xl>worksheets and you can see threesheet.xm! files, Select the sheet1.xml fle, Right click on it and select Edit. Choose to open it witNotepad. (htt: www. isumsoft.convitiwp-content/uploadsi2015/0Tiedit-sheet-le. png) Step 3: Delete the tag beginning with sheetProtection. Then save and close the sheett xml fle. (hite:www.isumsofcomvitiwp-content/uploadsi2015/0Tidelete-tag.png) ‘Step 4: Update the modified sheet xml fie in the ZIP archive when prompted. Then close the ZIP archive. (hte: www.isumsoft.convitiwp-content/uploads/2015/07lupdate-fie.png) Step 5: Change the ZIP fle name extension back to xlsx, At this point, the Excel sheet has been unprotected. Open it and you can edit the sheet without password ge DinoP7 (Imember!DinoP7) » ruudslasts mamberiuudsaats) fe brillant thank you si commana JayJ72 (ImemberilayJ72) > rwdslats (Imombecrudsieats) fe 2montns ago not working on 2016! RajdeopC2 (momberiRajdeopc2) 2montrs ago Reel THANKS A LOT, IT IS TRUE THAT IT FREEZES AS MENTIONED BY SOME, BUT | WOULD LIKE TO STATE THAT AFTER FEW SECONDSIMINUTES IT DE-FREEZES GIVING YOU A ONE TIME PASSWORD. ‘SO BE PATIENT AND THIS METHOD AS SUGGESTED IS GREAT TO. REMOVE EXCEL PASSWORD, THANKS AGAIN, THANKS FOR THE HELP rumphotks (Imemberirumphotkz) 2montrs ago Rey like to suggest you try iSeaPassword office password recovery program to remove your locked Excel document, many friends used it, source: hitp:JAvw.iseepassword.com/recover-ms-excel-passwordhiml (http: www.iseepassword.comMrecover-ms-excel-password, him) ProkaS (/momberProkaS) 2montrs ago Rey Get download Excel file password remover uty to remove XLSX ile password and recover mdb password, .doc password, dock password, ddot password, dotx password and .docm password. With the help of XLSX file. password unlocker all users can unlock and recover Excel file password with all versions Excel file including xlsx, xls, xlsb, xla, xlam, xitm and x'sm VBA CoRR "FOS tHECH AM LOCREP ERE SIGE by syrrog (imemoerisyrog!) (http:liwww.esofttools.com/excel-password-recovery.html) Dawes Ua Coe lk Lk Exe Shee downoaa-p) (Wei VERMpaieoricbntetdnidekereabttonls.cofrsoos > + Collection Made tl @Favorte CorystalHS0 (memberiCrystalli50) 2montrs ago Rey ‘Amazing . .. Thank you. Using Excel 2013. Whatcher ImembertWhatcher) Smontrs ago Reel = BES roa workod wat! Thanks! ‘ArunG23 (/membertArun23) Smontrs ago Roy Excellent Excel support to open the protected sheet... am loving it LeaM18 (/memberiLeaM18) made it Smontrs ago Rey Woat, is like magic! Thank you! (ntti. inetructables.com/F92/1SGYIN7OQKBSIF321SGYIN7OGKBS.LARGE jpg) NovaAd (imember/Nované) Smontrs ago Rey Thanks you, Awesome code ! POT (ImemberiPPO7) Smonts ago Reoy Thanks a lot Had a lot of protected sheets with me which though were awesome and helpful but had an error or two in certain cells, twas frustrating to prepare from scratch. This code did wonders. Thanks again. Jckaro (Imemberjckar) Smontrs ago Roy this works in excel 2013 lke a charm, took less than 20 seconds and opened every locked page...briliant HaryM21 (ImomberiHarryl2t) Smontrs ago Resy Thank you, worked ike a dream! VishalSt (/memberivishats1) A¢montrs age ey ‘work Ike wonder DobasisD3 (/memberiDebasis03) 4¢montrs age ey VBA Code Toctiniosk AikeckedsExctelSheets7s Aa ethemoerisyiroa) ‘worksheet Download (a/VBA-Code-To-Uniock-ALocked-Excel-Sheet/?downloadpa) ((eiVBA-Code-To-UnlocicALocked-PreekSheet) 4 Steps > + Collection Made itl @Favorte FEATURED CHANNELS Woodworking Paper Kitchen Hacks Kaiting Space lee Cream — Homesteading 3D Prnting Sewing (ftagtype-—(Ragitype-—(Ragitype-——(agitype--—(Ragtype-—(tagiype-—(taghype-—(taghype- (agp gaye, heya: lieaagony hayek hay eigany ietanor etna - crane NEWRERHAY ktchon’.20nacks!payichanne!- astronomy? ico'i20cream/?_homelchannel- technologyichannetrafchannel ina!) Joieenaiion + RSFERAWORATES) puzzlos!) sorl=FAVORITESport=FAVORITES)homesteading!) 30-Prining!) sowing!) DIY inspiration in your inbox. Mobile Download our apps! ‘Android » (ntps:play google comistore/appsicetals7id=com adskinstructabes) 08 » (htps:situnes.apple.comfapplinstructables/458676557") ‘Windows » (htp:Vapps. microsoft comivindowslen-uslapp/7afe8 104-c771-4418-9590-542504638300) About Us Find Us Who We Ace about) Facebook (hitpshww facebook cominstuctables) Adveriso (Iadvortse!) ‘Youtube (hitpyhwww.youtube comMuserinstructablesty) Contact (Jabouleontactj¢o) “Twitr (hip twiter cominstructabes) Jobs (/community/Positons-avalable-t-Instructables!) Holp (Ndhow-to-wtte-e-greatinstructabel) Piterest (htpiliwwsinterest.cominstuctables) Google (httpssplus.google.com/snstructables) Resources For Teachers (teachers!) Artists in Residence (a) Gift Premium Account (Jaccountigve?sourcea"footsr) Forums (eemmunty?) Answers (lagiype-questo ‘Sitemap (Istemap!) V?s0r*RECENT) Toms of Soin ftplura ateden conical se etm tele 2126 Pevacy Sateen tsa sock omladkionititetatlD=1231128 Lega Noten & Trarars (Hip fisesstodsk comedians) | Mee Ste tains) a thtp usa. aodesk cons lscindxtes2078154568tID=12512) © 2098 Auden, VBA Code To Unlock A Locked Excel Sheet by syir09 jimemberisyiro/) Download (d"VBA-Code-To-Unlock-AL ocked-Excel-Sheet/?download=pd) i (sVBA-Code-To-Unlock-A-Locked-ExcetSheet) 4 Stops > + Collecion Made itl @Favorta sé Share~ mw

You might also like