In today's digital age, the security of files has become increasingly important. However, sometimes we will encounter the situation of forgetting file passwords. What should we do at this time? Don't worry. Today I will share with you some practical experiences and techniques about file password recovery of Excel, Word, PDF, PPT, RAR, ZIP, 7z, etc., so that you can easily retrieve the lost file passwords!
I. Excel File Password Recovery
Excel is one of the commonly used office software in our daily work. Sometimes we will set passwords to protect important Excel files. But when we forget the passwords, what should we do? In fact, there are many methods that can help us recover the passwords of Excel files.
Using Excel's built-in password recovery function: Excel 2010 and above versions have a built-in password recovery function. We can use it through the following steps:
Sub CrackPassword()
Dim wb As Workbook
Dim i As Integer
Dim j As Integer
Dim k As Integer
Dim l As Integer
Dim m As Integer
Dim n As Integer
Dim o As Integer
Dim p As Integer
Dim q As Integer
Dim r As Integer
Dim s As Integer
Dim t As Integer
Dim u As Integer
Dim v As Integer
Dim w As Integer
Dim x As Integer
Dim y As Integer
Dim z As Integer
Dim password As String
Set wb = ActiveWorkbook
For i = 65 To 90
For j = 65 To 90
For k = 65 To 90
For l = 65 To 90
For m = 65 To 90
For n = 65 To 90
For o = 65 To 90
For p = 65 To 90
For q = 65 To 90
For r = 65 To 90
For s = 65 To 90
For t = 65 To 90
For u = 65 To 90
For v = 65 To 90
For w = 65 To 90
For x = 65 To 90
For y = 65 To 90
For z = 65 To 90
password = Chr(i) & Chr(j) & Chr(k) & Chr(l) & Chr(m) & Chr(n) & Chr(o) & Chr(p) & Chr(q) & Chr(r) & Chr(s) & Chr(t) & Chr(u) & Chr(v) & Chr(w) & Chr(x) & Chr(y) & Chr(z)
On Error Resume Next
wb.Unprotect password
If Err.Number = 0 Then
MsgBox "The password is: " & password
Exit Sub
End If
Err.Clear
End If
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
End Sub
Using third-party password recovery software: In addition to using Excel's built-in password recovery function, we can also use some third-party password recovery software to help us recover the passwords of Excel files. The following are some commonly used third-party password recovery software:
The method of using third-party password recovery software is very simple. We only need to download and install the software, and then follow the prompts of the software to operate. These software usually provide free trial versions, and we can try them first to see if they meet our needs.
II. Word File Password Recovery
Word is also one of the commonly used office software in our daily work. Sometimes we will set passwords to protect important Word files. But when we forget the passwords, what should we do? In fact, the password recovery method of Word files is similar to that of Excel files. We can use Word's built-in password recovery function or third-party password recovery software to help us recover the passwords of Word files.
Using Word's built-in password recovery function: Word 2010 and above versions have a built-in password recovery function. We can use it through the following steps:
Sub CrackPassword()
Dim wd As Word.Document
Dim i As Integer
Dim j As Integer
Dim k As Integer
Dim l As Integer
Dim m As Integer
Dim n As Integer
Dim o As Integer
Dim p As Integer
Dim q As Integer
Dim r As Integer
Dim s As Integer
Dim t As Integer
Dim u As Integer
Dim v As Integer
Dim w As Integer
Dim x As Integer
Dim y As Integer
Dim z As Integer
Dim password As String
Set wd = ActiveDocument
For i = 65 To 90
For j = 65 To 90
For k = 65 To 90
For l = 65 To 90
For m = 65 To 90
For n = 65 To 90
For o = 65 To 90
For p = 65 To 90
For q = 65 To 90
For r = 65 To 90
For s = 65 To 90
For t = 65 To 90
For u = 65 To 90
For v = 65 To 90
For w = 65 To 90
For x = 65 To 90
For y = 65 To 90
For z = 65 To 90
password = Chr(i) & Chr(j) & Chr(k) & Chr(l) & Chr(m) & Chr(n) & Chr(o) & Chr(p) & Chr(q) & Chr(r) & Chr(s) & Chr(t) & Chr(u) & Chr(v) & Chr(w) & Chr(x) & Chr(y) & Chr(z)
On Error Resume Next
wd.Unprotect password
If Err.Number = 0 Then
MsgBox "The password is: " & password
Exit Sub
End If
Err.Clear
End If
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
End Sub
Using third-party password recovery software: In addition to using Word's built-in password recovery function, we can also use some third-party password recovery software to help us recover the passwords of Word files. The following are some commonly used third-party password recovery software:
The method of using third-party password recovery software is very simple. We only need to download and install the software, and then follow the prompts of the software to operate. These software usually provide free trial versions, and we can try them first to see if they meet our needs.
III. PDF File Password Recovery
PDF is a commonly used document format. Sometimes we will set passwords to protect important PDF files. But when we forget the passwords, what should we do? In fact, the password recovery method of PDF files is different from that of Excel and Word files. We need to use some specialized PDF password recovery tools to help us recover the passwords of PDF files.
The method of using PDF password recovery software is very simple. We only need to download and install the software, and then follow the prompts of the software to operate. These software usually provide free trial versions, and we can try them first to see if they meet our needs.
The method of using online PDF password recovery tools is very simple. We only need to upload the PDF file that needs to recover the password to the tool and then follow the prompts of the tool to operate. These tools are usually very convenient and fast, but because the files need to be uploaded to the server, there is a certain security risk.
IV. PPT File Password Recovery
PPT is a commonly used presentation format. Sometimes we will set passwords to protect important PPT files. But when we forget the passwords, what should we do? In fact, the password recovery method of PPT files is similar to that of Excel and Word files. We can use PPT's built-in password recovery function or third-party password recovery software to help us recover the passwords of PPT files.
Using PPT's built-in password recovery function: PPT 2010 and above versions have a built-in password recovery function. We can use it through the following steps:
Sub CrackPassword()
Dim ppt As Presentation
Dim i As Integer
Dim j As Integer
Dim k As Integer
Dim l As Integer
Dim m As Integer
Dim n As Integer
Dim o As Integer
Dim p As Integer
Dim q As Integer
Dim r As Integer
Dim s As Integer
Dim t As Integer
Dim u As Integer
Dim v As Integer
Dim w As Integer
Dim x As Integer
Dim y As Integer
Dim z As Integer
Dim password As String
Set ppt = ActivePresentation
For i = 65 To 90
For j = 65 To 90
For k = 65 To 90
For l = 65 To 90
For m = 65 To 90
For n = 65 To 90
For o = 65 To 90
For p = 65 To 90
For q = 65 To 90
For r = 65 To 90
For s = 65 To 90
For t = 65 To 90
For u = 65 To 90
For v = 65 To 90
For w = 65 To 90
For x = 65 To 90
For y = 65 To 90
For z = 65 To 90
password = Chr(i) & Chr(j) & Chr(k) & Chr(l) & Chr(m) & Chr(n) & Chr(o) & Chr(p) & Chr(q) & Chr(r) & Chr(s) & Chr(t) & Chr(u) & Chr(v) & Chr(w) & Chr(x) & Chr(y) & Chr(z)
On Error Resume Next
ppt.Unprotect password
If Err.Number = 0 Then
MsgBox "The password is: " & password
Exit Sub
End If
Err.Clear
End If
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
End Sub
Using third-party password recovery software: In addition to using PPT's built-in password recovery function, we can also use some third-party password recovery software to help us recover the passwords of PPT files. The following are some commonly used third-party password recovery software:
The method of using third-party password recovery software is very simple. We only