如果您不知道如何删除 Excel 文件的密码保护,可以选择以下三个选项之一来快速轻松地完成此操作。
谷歌并下载该程序 "Office Password Recovery Toolbox" ,它为加密的 Microsoft Office 文档选择密码:Word、Excel、Outlook、Access 数据库和 VBA 项目。
打开菜单 服务-宏-编辑器Visual Basic (Service - Macros - Visual Basic Editor) (或按 Alt+F11), 插入 VBA 模块 (菜单 Insert - Module )并将此文本复制到此处:
Sub PasswordRemover() 'moonexcel.com.ua 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 Dim SheetPassword As String 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 SheetPassword = Chr(i) & Chr(j) & Chr(k) & Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & Chr(i4) & Chr(i5) & Chr(i6) & Chr(n) ActiveSheet.Unprotect SheetPassword If ActiveSheet.ProtectContents = False Then MsgBox "Done" & vbcr & "enjoy it)" Exit Sub End If Next: Next: Next: Next: Next: Next Next: Next: Next: Next: Next: Next End Sub
执行此宏后,密码将从 Excel 文件中永久删除。
通过更改文件中的内部代码来破解 Excel 中的密码的快速步骤:
详细解释:
<sheetProtection password="CF7A" sheet="1" objects="1" scenarios="1" selectLockedCells="1" selectUnlockedCells="1"/>或类似的东西。简而言之,容器“ sheetProtection ”。
如果您知道密码,但按 Tab 键 “移除纸张保护” ("Unprotect sheet") 不活动,您应该选择 「编辑」 (“Edit”),按下按钮 “获取这本书” ("Access to workbook") ,然后取消选中它 “允许多个用户编辑一个文件” ("Allow multiple users to edit file") 。