If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Crack Password

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-24-04, 23:05
zulazriputra zulazriputra is offline
Registered User
 
Join Date: Feb 2004
Location: Malaysia
Posts: 8
Unhappy Crack Password

I have forgotten the password of my MS Excel worksheet. Can anybody tell me how to crack this password? Please help me as this is a very important!. any tools.. or anything?
Reply With Quote
  #2 (permalink)  
Old 02-25-04, 12:24
Smitty Smitty is offline
Registered User
 
Join Date: Dec 2003
Location: San Diego, CA
Posts: 153
Welcome to the Board!

Give this a go:
Code:
Sub PasswordBreaker()
    
    '   Breaks worksheet password protection.
    '   Original (?)by Bob McCormick on NG:
    '   microsoft.public.excel.misc on 22 May 2001.
    '   Adapted for workbook passwords Norman Harker 19 Nov 2002
    '   Breaks workbook and worksheet password protection.
    '   Works for either workbook or worksheet passwords or both
    '   if the passwords are the same.
    '   If passwords are different then
    '   systematically "comment out" the nested if functions
    
    Dim intPress As Integer

        intPress = MsgBox("Preparing to disable your password...", _
            vbQuestion + vbOKCancel, "Password Breaker")
       
    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 "OK, your password has been disabled.  Try not to forget it again...", 0, "Password Breaker"
     
     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)
        
        Exit Sub
    
    End If
    
        Next: Next: Next: Next: Next: Next
        Next: Next: Next: Next: Next: Next
        
End Sub
Reply With Quote
  #3 (permalink)  
Old 02-25-04, 22:38
zulazriputra zulazriputra is offline
Registered User
 
Join Date: Feb 2004
Location: Malaysia
Posts: 8
Question

Thanks Smitty... but how to apply this codes on the workbook? I cant even open the workbook coz it will prompt for password. When I click on OK or CANCEL, it will automatically abort.
Reply With Quote
  #4 (permalink)  
Old 02-26-04, 00:12
Smitty Smitty is offline
Registered User
 
Join Date: Dec 2003
Location: San Diego, CA
Posts: 153
Bummer
Quote:
I have forgotten the password of my MS Excel worksheet
You asked for a worksheet protection crack first.

For an Excel workbook you'll most likely need a commercial solution. That's code you're not going to find openly.

A Google search will turn up a bunch. Most are about $30-45.

Smitty
Reply With Quote
  #5 (permalink)  
Old 02-26-04, 21:28
bmacr bmacr is offline
Registered User
 
Join Date: Feb 2004
Location: Canada
Posts: 133
You could try one of these:

http://www.straxx.com/excel/password.html
Reply With Quote
  #6 (permalink)  
Old 02-26-04, 22:01
Smitty Smitty is offline
Registered User
 
Join Date: Dec 2003
Location: San Diego, CA
Posts: 153
Quote:
You could try one of these:

http://www.straxx.com/excel/password.html
That's probably the best around.

Not much help, but keeping your passwords consistent really helps. You can alse keep a master list of them where noone's going to get at them. I use Outlook for my boss as he can't remember any of his.

Smitty
Reply With Quote
  #7 (permalink)  
Old 02-26-04, 23:46
zulazriputra zulazriputra is offline
Registered User
 
Join Date: Feb 2004
Location: Malaysia
Posts: 8
Thanks pal for the solution and advice. I've downloaded the file and i'm trying now. Thanks again.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On