Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

[TUT]How to Remove Protected Excel Sheet Password

kadz_amr

The Devotee
Advanced Member
Messages
370
Reaction score
13
Points
28
Kung repost na po to paki delete na lang po.

Follow these Steps Carefully.

Note: Applicable to any version of MS Office. What I am using in this demonstration is MS Office 2010.

1. Open the Password Protected Excel Sheet.
2. Press Alt+F11. A MS Visual Basic Interface will popup.
3. Do as what the image shows
4. Paste this code:
Code:
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)
        Exit Sub
    End If
    Next: Next: Next: Next: Next: Next
    Next: Next: Next: Next: Next: Next


End Sub

and will look like this

5. Close the MS Visual Basic Interface and return to the protected excel sheet.

6. Go to view>macros (it may differ with other version of MS Office).Follow the steps in the image as shown.

7. Then a window will popup and will look like this.


8. After running the code please wait until it finishes its routine. It may take a minute or two depending on the speed of your system.

9. If you see the messagebox as shown below then you're successful.

10. Then "Save As" it in a different filename.


I hope you'll find this tutorial helpful.
 

Attachments

  • Img_01.PNG
    Img_01.PNG
    61.6 KB · Views: 3,004
  • Img_02.PNG
    Img_02.PNG
    135.7 KB · Views: 2,017
  • Img_03.PNG
    Img_03.PNG
    133 KB · Views: 1,915
  • Img_04.PNG
    Img_04.PNG
    73.5 KB · Views: 1,566
  • Img_05.PNG
    Img_05.PNG
    105.2 KB · Views: 1,707
Last edited:
Kudos to you sir...ang galing n2..

grabeh pnhrapan ako nun excel sheet n n pw lock bt thanks to this naedit ko n ult..^^

thanks ult
 
Kudos to you sir...ang galing n2..

grabeh pnhrapan ako nun excel sheet n n pw lock bt thanks to this naedit ko n ult..^^

thanks ult

You're welcome bro.
 
Thank you Ts.
working sa mga password sa worksheets.
nabawasan ang problema ko po.:clap:

How about this one
Meron po ba kayong TUT pang remove or recover ng password pag yung file mismo ng excel ang may password? if you click the file, may promt po agad for a password. Kaya di mo talaga maoopen yung file pag walang password sa opening promt.hehe
sana po meron.

More Power TS :clap:
 
is it working on
MS 2007? try ko na din,:)
thanks for sharing. diba mababago
yung password ng excel?
 
is it working on
MS 2007? try ko na din,:)
thanks for sharing. diba mababago
yung password ng excel?

Working yan for 2007 and 2010. Mabubura ang password po ng sheets.

Thank you Ts.
working sa mga password sa worksheets.
nabawasan ang problema ko po.:clap:

How about this one
Meron po ba kayong TUT pang remove or recover ng password pag yung file mismo ng excel ang may password? if you click the file, may promt po agad for a password. Kaya di mo talaga maoopen yung file pag walang password sa opening promt.hehe
sana po meron.

More Power TS :clap:

Wala rin akong solution sa protected excel file. I think compress and encrypted po pag excel file na may password.

not working sakin TS nkadisable yung module..

I don't think yung module and nadisable, baka kamo yung visual basic sa Excel mo ang nadisable? in that case ang problema ang MS Office mo not the code.
 
Last edited:
buti nalang meron nito dito..working xa sa MS Office 2013..butit maiedit ko na pinpgawa skin ng boss ko..

salamat dito TS..
 
Back
Top Bottom