Results 1 to 3 of 3

Thread: [RESOLVED] Help break a WORKBOOK password

  1. #1

    Thread Starter
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Resolved [RESOLVED] Help break a WORKBOOK password

    I use a workbook that I created at least 10 years ago. Today I tried to delete a worksheet but all the options to do that were turned off. The things I tried indicate to me that the structure of the workbook is protected, but unfortunately I don't remember the password. Does anyone have any reliable VBA code or free 3rd party software that will do that or at least reveal the password? I emphasized reliable because I found this terribly structured code on the web and it doesn't work

    Code:
    Sub BreakPassword()
     
    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
    ' more of the same

  2. #2
    PowerPoster Zvoni's Avatar
    Join Date
    Sep 2012
    Location
    To the moon and then left
    Posts
    5,264

    Re: Help break a WORKBOOK password

    Are you able to open the workbook (without Password)?
    if yes, then you need to unprotect the Worksheet (Not the Workbook).
    If yes, there is an easy fix without Bruteforcing to crack the PW
    Last edited by Zvoni; Tomorrow at 31:69 PM.
    ----------------------------------------------------------------------------------------

    One System to rule them all, One Code to find them,
    One IDE to bring them all, and to the Framework bind them,
    in the Land of Redmond, where the Windows lie
    ---------------------------------------------------------------------------------
    People call me crazy because i'm jumping out of perfectly fine airplanes.
    ---------------------------------------------------------------------------------
    Code is like a joke: If you have to explain it, it's bad

  3. #3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width