Computers & Internet Logo
A
Anonymous Posted on Jan 20, 2013

Excel Tool VBA Password Recovery - Excel-Tool Excel Tool VBA Password Recovery

1 Answer

Private

Level 1:

An expert who has achieved level 1.

Governor:

An expert whose answer got voted for 20 times.

Corporal:

An expert that has over 10 points.

Welcome Back:

Visited the website for 2 consecutive days.

  • Contributor 12 Answers
  • Posted on Nov 21, 2015
 Private
Contributor
Level 1:

An expert who has achieved level 1.

Governor:

An expert whose answer got voted for 20 times.

Corporal:

An expert that has over 10 points.

Welcome Back:

Visited the website for 2 consecutive days.

Joined: Jul 07, 2009
Answers
12
Questions
0
Helped
28867
Points
62

Are you looking to unlock a protected sheet or actually recover the password? I can help you with the former.

Note this will only work to unlock a worksheet. It will not recover the VBA editor password (however this is possible by very hard to explain.)

1) Open the excel sheet you want to unlock,
2) Open VBA editor, (Alt+F11 while in excel)
3) add a module (insert > module)
4) and paste in this code into the main window (big window on the right)

Sub PasswordBreaker()
Dim i As Integer, j As Integer, k As Integer
Dim l As Integer, m As Integer, n As Integer
Dim i1 As Integer, i2 As Integer, i3 As Integer
Dim i4 As Integer, i5 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 l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66
For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66
For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126
ActiveSheet.Unprotect Chr(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 "One usable password is " & Chr(i) & Chr(j) & _
Chr(k) & Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & _
Chr(i3) & Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
ActiveWorkbook.Sheets(1).Select
Range("a1").FormulaR1C1 = 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

5) Then either:
5a) go back to the excel window, click Developer > Macros > select PasswordBreaker
6) Or just hit the play icon (green triangle) in the top of the VBA editor

This will unlock the sheet, and give you a password which will unlock it in the future.

Note: Due to the encryption method used in excel, there are many possible passwords which will unlock the sheet. This will give you "a" password which will work but it will not be the one that you originally set up. Both the original and this one will still work.

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

0helpful
1answer

SysTools VBA Password Remover serial

If you want to remove the VBA password from Excel, Access, Word, PowerPoint and Outlook etc with the help of VBA Password Remover Software rapidly.
http://www.vbapasswordremover.net/
http://www.systoolsgroup.com/vba-password-remover.html
http://www.vbapasswordremover.com/
http://www.vbapasswordremover.org/
4helpful
3answers
2helpful
5answers

How can open password protected microsoft word document

I recommend you three password recovery tools, anyone of which can solve your problem with great ease.
This first one is Word Password Recovery 5.0. which is specially to remove ms Word passwords including password to open and password to edit.
The second one is Office Password Unlocker, which is office password recovery kits. Including password recovery tools for ms word and ms excel.
The third one is Password Unlocker Bundles. This program is an all-in-one password recovery kit. It contains rar password recoverytool, windows password recovery tool, office password recovery tool, ms word password recoverytool, ms excel password recoverytool, winzip password recovery tool and pdf password recoverytool ,ect
1helpful
2answers

Excel password is protected....... but not i don't know that password,,,,,,, so password are remove if i see that password

Excel Password Remover 2008

Excel Password Remover
Instructions
FAQ
Disclaimer
Excel Password Remover PRO

--------------------------------------------------------------------------------
Recommended links:
Password recovery software (Word, Excel, Outlook, Exchange, Visual Basic modules, Access, Winzip, Lotus 1-2-3, Lotus Organizer, Lotus Wordpro, Backup, Project, FileMaker, Schedule+, Money, Paradox, Act!, Mail, Windows NT)
Instant password recovery (Instant online recovery service for password protected MS Word and Excel files. Free online preview of encrypted file content. )
Visual Basic Password (Instant recovery of VBA-passwords in Office programs)
Excel add-in decompiler (Converts Excel add-ins into normal workbooks)

Have you ever forgotten your Excel workbook or sheet password?
Here you can download a FREE Excel add-in that removes/cracks sheet and workbook password protection in Excel®.
NB! This program can't remove file protection, i.e. if you are unable to open the file, this program won't help you. You could try Excel Key to remove file protection. If you need to crack the VBA-password try this one.
This Excel add-in (password.xla) works fine in Excel 5.0 and above (including Excel 2000, XP and 2003).
This program will remove passwords of any length, also passwords containing special characters.
Download here: password
0helpful
3answers

Excel vba password recovery

You can but you will need software. Search for google for VBA password recovery tools. Search for the appropriate crack you have it all . .
0helpful
5answers

Forgot password

Try this link http://www.download.com/Free-Word-Excel-Password-Wizard/3000-2092_4-10249516.html?tag=lst-0-1 It should help you unlock the Excel file and break the password. Good luck
Not finding what you are looking for?

243 views

Ask a Question

Usually answered in minutes!

Top Excel-Tool Computers & Internet Experts

Grand Canyon Tech
Grand Canyon Tech

Level 3 Expert

3867 Answers

Brad Brown

Level 3 Expert

19187 Answers

Cindy Wells

Level 3 Expert

6688 Answers

Are you an Excel-Tool Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...