破解excel表格锁定密码
破解保护工作表
破解保护工作表
破解保护工作表并不是一件容易的事情,但是有时候我们确实需要这样做,例如当我们忘记了密码,或者需要访问某些受保护的单元格时。
以下是几种方法,可以帮助您破解保护工作表:
1. 使用某些软件工具
有一些专门的软件工具可以帮助您破解密码保护的工作表,例如Excel Password Recovery、Accent Excel Password Recovery等等。
这些工具可以在您忘记密码时,为您提供一种解决方案。
2. 通过重置密码来破解
您还可以通过重置密码来破解保护工作表。
首先,您需要打开受保护的工作表,然后进入“文件”选项卡,接着选择“信息”选项卡,并点击“保护工作表”旁边的“密码保护”选项。
在输入密码之前,您可以尝试使用“重置密码”选项来为工作表创建一个新的密码,从而破解原来的密码。
3. 手动破解
手动破解是一种更复杂的方法,需要您拥有一定的编程和Excel 技能。
您需要打开VBA编辑器,然后输入一些代码,以破解保护工作表。
由于这种方法比较复杂,建议您在尝试之前先备份您的工作表。
总的来说,破解保护工作表并不是一件容易的事情,但是在某些情况下,它可以帮助我们解决一些问题。
如果您遇到了类似的问题,请谨慎使用这些方法,并在尝试之前先备份您的工作表。
破解excel工作表保护
破解excel工作表保护Excel工作表保护是一种常见的数据保护方式,它可以帮助我们防止他人对工作表的意外修改或删除。
但有时候,我们可能会忘记保护工作表的密码,或者需要修改受保护的工作表,这时就需要破解Excel工作表保护。
下面,我将介绍几种破解Excel工作表保护的方法,希望能帮助到大家。
首先,我们可以尝试使用VBA代码来破解Excel工作表保护。
在Excel中,按下“Alt+F11”打开VBA编辑器,然后在新建的模块中输入以下代码:```VBA。
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)。
ex-vba迄今为止最简单的excel工作表密码解除方法
ex-vba迄今为止最简单的excel工作表密码解除方法
『动画解读』
对于设置了工作表密码的工作簿,打开后,具体操作步骤如下:
Step-01:通过菜单【开发工具】-【Visual Basic】进入VBA 编辑界面
Step-02:在VBA编辑窗口的【立即窗口】中逐步执行以下代码(输完一句回车后再输入另一句并回车其中sheet1为需要破解密码的工作表的名称)sheet1.Protect AllowFiltering:=truesheet1.unProtect
逐步执行这两行代码后,工作表的密码将被解除!!!
如果打开VBA编辑窗口时没有立即窗口,可以通过菜单【视图】-【立即窗口】调出来,如下图所示:
『扩展应用』如果需要批量解除的,可以自行加入循环控制语句,写成一个过程。
代码参考如下(将代码复制放在ThisWorkbook下,然后运行):Sub clsWkShtPwd() Dim sht As Worksheet For Each sht In Worksheets
sht.Protect AllowFiltering:=True sht.unprotect NextEnd Sub
在此再次感谢大神们的分享!同时,一门技术是好是坏,全凭个人掌握,用于益处是为好……。
3种方法破解工作表密码
3种⽅法破解⼯作表密码⼤家好,今天和⼤家分享“破解Excel⼯作表密码',⼯作表密码其实很很脆弱,破解很容易,下⾯我讲解3种⽅法⼀、纯技巧破解⽅法:不适合03版本,关闭有⼯作表保护的⼯作簿-->选中⼯作簿-->右击-->重命名-->在后⾯加⼀个.Zip-->确认-->变成压缩⽂件-->双击打开压缩包-->打开xl⽂件夹-->worksheets-->找到加密的⼯作表-->把它拖到桌⾯-->打开拖出来的⼯作表,格式是xml的-->删除<sheetProtection password='CF7A' sheet='1' objects='1' scenarios='1'/>-->保存-->关闭拖出来的⼯作表,格式是xml⽂件夹,⼜把它拖回去-->关闭打开压缩包-->右击压缩包-->重命名-->把.zip删除-->确定-->打开⼯作簿-->呵呵,⼯作表密码没有了,⼤功告成.备注:如果你的电脑⾥的⽂件没有扩展名选进⾏此操作我的电脑-->⼯具-->⽂件夹选项-->查看-->去掉'隐藏已知⽂件类型的扩展名'前⾯的钩⼆、代码破解⽅法:快捷键A1t F11打开vbe编辑器→插⼊菜单→插⼊模块→把下⾯的代码复制过去→然后把光标点到代码⾥→F5运⾏⼀下→⼯作表保护就破解了。
Sub 破解⼯作表密码()For x = 1 To Sheets.CountSheets(x).Protect AllowFiltering:=TrueSheets(x).UnprotectNext xEnd Sub三、完美⼯具箱破解操作⽅法见动画具体操作⽅法:完美⼯具箱【9.7.0版】选项卡→加解密码→⼯作表解密码→多次点取消⼀直到破解。
excel工作表保护密码忘了
excel工作表保护密码忘了在日常工作中,我们经常会使用Excel进行数据处理和分析。
而在使用Excel 的过程中,我们经常会为工作表设置保护密码,以防止他人对工作表进行未经授权的修改。
然而,有时候我们可能会忘记设置的保护密码,导致无法对工作表进行修改。
那么,当我们忘记了Excel工作表的保护密码该怎么办呢?首先,我们可以尝试使用一些常见的密码来解锁工作表。
有时候,我们可能会设置一些常用的密码,比如生日、电话号码、或者是一些简单的数字组合。
所以,我们可以先尝试这些常见的密码,看是否能够成功解锁工作表。
如果使用常见密码无法解锁工作表,我们还可以尝试使用一些密码破解工具。
在互联网上有很多针对Excel密码破解的软件,我们可以下载并尝试使用这些软件来破解工作表的保护密码。
当然,在使用这些软件的过程中,我们需要注意选择正规可靠的软件,以免下载到一些带有恶意软件的程序,导致电脑受到损害。
此外,我们还可以尝试使用VBA代码来解锁Excel工作表的保护密码。
通过编写一些简单的VBA代码,我们可以尝试绕过保护密码,对工作表进行修改。
当然,这需要一定的VBA编程知识,如果我们不熟悉VBA,可以寻求一些专业人士的帮助。
如果以上方法都无法解锁Excel工作表的保护密码,我们还可以考虑使用一些第三方工具来解决这个问题。
在互联网上有一些专门针对Excel密码破解的软件,它们通常具有强大的破解能力,可以帮助我们解锁工作表的保护密码。
当然,在选择使用第三方工具时,我们需要注意选择正规可靠的软件,以免下载到一些不安全的程序。
总的来说,当我们忘记了Excel工作表的保护密码时,我们可以尝试使用一些常见密码、密码破解工具、VBA代码或者第三方工具来解决这个问题。
当然,在进行这些操作时,我们需要注意选择安全可靠的方式,以免给电脑带来安全隐患。
希望以上方法可以帮助到你,解决忘记Excel工作表保护密码的问题。
excel解密方法
excel解密方法
Excel文件受到来自Microsoft Office的加密保护,有时候当我们需要打开一个已加密的Excel文件的时候可能会出现一些错误,Windows会要求我们提供解密密码。
打开被加密的 Excel 文件是必不可少的,也许我们已经忘记了密码怎么办呢?这里就推荐几种Excel解密方法给大家,我们可以试试去实现。
1、使用文件打开密码恢复工具来恢复文件解密密码。
这种方法需要使用专业免费的文件加密密码恢复工具,这样我们可以用加密工具针对特定的文件类型(如Word 、PDF、Excel等文件 ),来进行安全的文件解密密码恢复。
2、使用密码暴力破解软件来解密Excel。
虽然这种方法可以有效地破解文件密码,但是破解速度极慢,尤其是当文件加密强度比较高的时候,破解工具可能要花费好几个小时甚至几到几天的时间才能破解出密码,当然,这也取决于文件大小、文件加密算法和文件的密码强度等因素。
3、如果不小心忘记文件的密码,我们可以使用穷举法暴力破解Excel文件的密码;穷举法暴力破解的方法也很简单,就是让计算机列举出所有可能的密码,从中找出正确的解密密码。
4、还有就是使用解密服务,我们可以找到一些专业的文件解密服务来为我们提供文件解密服务,这样就可以省去麻烦,把文件交给解密专家,他们可以针对不同加密算法提供解码工具和技术,给出解密方案以及提供解密服务的收费标准。
总之,上述四种常见的Excel解密方法基本可以满足绝大多数人的需求,如果你遇到了Excel被加密文件,不要担心,上述四种解密方法是可以帮助你解密文件的,但是有时候,你可能需要尝试几种方案,才能实现解密文件,希望大家能够掌握一定的解密技能,及时解决文件加解密问题。
Excel—“撤销工作表保护密码”的破解并获取原始密码
Excel—“撤销工作表保护密码”的破解并获取原始密码在日常工作中,您是否遇到过这样的情况:您用Excel编制的报表、表格、程序等,在单元格中设置了公式、函数等,为了防止其他人修改您的设置或者防止您自己无意中修改,您可能会使用Excel的工作表保护功能,但时间久了保护密码容易忘记,这该怎么办?有时您从网上下载的Excel格式的小程序,您想修改,但是作者加了工作表保护密码,怎么办?您只要按照以下步骤操作,Excel工作表保护密码瞬间即破!1、打开您需要破解保护密码的Excel文件;2、依次点击菜单栏上的工具---宏----录制新宏,输入宏名字如:aa;3、停止录制(这样得到一个空宏);4、依次点击菜单栏上的工具---宏----宏,选aa,点编辑按钮;5、删除窗口中的所有字符(只有几个),替换为下面的内容;从横线下开始复制------------------------------------------------------------------------------------------Option ExplicitPublic Sub AllInternalPasswords()' Breaks worksheet and workbook structure passwords. Bob McCormick' probably originator of base code algorithm modified for coverage' of workbook structure / windows passwords and for multiple passwords'' Norman Harker and JE McGimpsey 27-Dec-2002 (V ersion 1.1)' Modified 2003-Apr-04 by JEM: All msgs to constants, and' eliminate one Exit Sub (V ersion 1.1.1)' Reveals hashed passwords NOT original passwordsConst DBLSPACE As String = vbNewLine & vbNewLineConst AUTHORS As String = DBLSPACE & vbNewLine & _"Adapted from Bob McCormick base code by" & _"Norman Harker and JE McGimpsey"Const HEADER As String = "AllInternalPasswords User Message"Const VERSION As String = DBLSPACE & "V ersion 1.1.1 2003-Apr-04"Const REPBACK As String = DBLSPACE & "Please report failure " & _"to the microsoft.public.excel.programming newsgroup."Const ALLCLEAR As String = DBLSPACE & "The workbook should " & _"now be free of all password protection, so make sure you:" & _DBLSPACE & "SA VE IT NOW!" & DBLSPACE & "and also" & _DBLSPACE & "BACKUP!, BACKUP!!, BACKUP!!!" & _DBLSPACE & "Also, remember that the password was " & _"put there for a reason. Don't stuff up crucial formulas " & _"or data." & DBLSPACE & "Access and use of some data " & _"may be an offense. If in doubt, don't."Const MSGNOPWORDS1 As String = "There were no passwords on " & _"sheets, or workbook structure or windows." & AUTHORS & VERSIONConst MSGNOPWORDS2 As String = "There was no protection to " & _ "workbook structure or windows." & DBLSPACE & _"Proceeding to unprotect sheets." & AUTHORS & VERSIONConst MSGTAKETIME As String = "After pressing OK button this " & _ "will take some time." & DBLSPACE & "Amount of time " & _ "depends on how many different passwords, the " & _ "passwords, and your computer's specification." & DBLSPACE & _ "Just be patient! Make me a coffee!" & AUTHORS & VERSIONConst MSGPWORDFOUND1 As String = "Y ou had a Worksheet " & _ "Structure or Windows Password set." & DBLSPACE & _"The password found was: " & DBLSPACE & "$$" & DBLSPACE & _ "Note it down for potential future use in other workbooks by " & _ "the same person who set this password." & DBLSPACE & _"Now to check and clear other passwords." & AUTHORS & VERSION Const MSGPWORDFOUND2 As String = "Y ou had a Worksheet " & _ "password set." & DBLSPACE & "The password found was: " & _ DBLSPACE & "$$" & DBLSPACE & "Note it down for potential " & _ "future use in other workbooks by same person who " & _"set this password." & DBLSPACE & "Now to check and clear " & _ "other passwords." & AUTHORS & VERSIONConst MSGONLYONE As String = "Only structure / windows " & _ "protected with the password that was just found." & _ALLCLEAR & AUTHORS & VERSION & REPBACKDim w1 As Worksheet, w2 As WorksheetDim i As Integer, j As Integer, k As Integer, l As IntegerDim m As Integer, n As Integer, i1 As Integer, i2 As IntegerDim i3 As Integer, i4 As Integer, i5 As Integer, i6 As IntegerDim PWord1 As StringDim ShTag As Boolean, WinTag As BooleanApplication.ScreenUpdating = FalseWith ActiveWorkbookWinTag = .ProtectStructure Or .ProtectWindowsEnd WithShTag = FalseFor Each w1 In WorksheetsShTag = ShTag Or w1.ProtectContentsNext w1If Not ShTag And Not WinTag ThenMsgBox MSGNOPWORDS1, vbInformation, HEADERExit SubEnd IfMsgBox MSGTAKETIME, vbInformation, HEADERIf Not WinTag ThenMsgBox MSGNOPWORDS2, vbInformation, HEADER ElseOn Error Resume NextDo 'dummy do loopFor i = 65 To 66: For j = 65 To 66: For k = 65 To 66For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66For 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 With ActiveWorkbook.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 .ProtectStructure = False And _.ProtectWindows = False ThenPWord1 = Chr(i) & Chr(j) & Chr(k) & Chr(l) & _Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)MsgBox Application.Substitute(MSGPWORDFOUND1, _ "$$", PWord1), vbInformation, HEADERExit Do 'Bypass all for...nextsEnd IfEnd WithNext: Next: Next: Next: Next: NextNext: Next: Next: Next: Next: NextLoop Until TrueOn Error GoTo 0End IfIf WinTag And Not ShTag ThenMsgBox MSGONLYONE, vbInformation, HEADERExit SubEnd IfOn Error Resume NextFor Each w1 In Worksheets'Attempt clearance with PWord1w1.Unprotect PWord1Next w1On Error GoTo 0ShTag = FalseFor Each w1 In Worksheets'Checks for all clear ShTag triggered to 1 if not.ShTag = ShTag Or w1.ProtectContentsNext w1If ShTag ThenFor Each w1 In WorksheetsWith w1If .ProtectContents ThenOn Error Resume NextDo 'Dummy do loopFor i = 65 To 66: For j = 65 To 66: For k = 65 To 66For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126.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 Not .ProtectContents ThenPWord1 = Chr(i) & Chr(j) & Chr(k) & Chr(l) & _Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)MsgBox Application.Substitute(MSGPWORDFOUND2, _"$$", PWord1), vbInformation, HEADER'leverage finding Pword by trying on other sheetsFor Each w2 In Worksheetsw2.Unprotect PWord1Next w2Exit Do 'Bypass all for...nextsEnd IfNext: Next: Next: Next: Next: NextNext: Next: Next: Next: Next: NextLoop Until TrueOn Error GoTo 0End IfEnd WithNext w1End IfMsgBox ALLCLEAR & AUTHORS & VERSION & REPBACK, vbInformation, HEADEREnd Sub-----------------------------------------------------------------------------------------复制到横线以上6、关闭编辑窗口;7、依次点击菜单栏上的工具---宏-----宏,选AllInternalPasswords,运行,确定两次;等一会,就会出现以下对话框:这就是Excel密码对应的原始密码(此密码和原先设置的密码都能打开此文档。
忘记excel密码的解决方法
忘记excel密码的解决方法
忘记Excel密码是一个常见的问题,但幸运的是有几种方法可以解决这个问题。
首先,你可以尝试使用一些基本的密码,比如你常用的密码或者与你相关的日期或数字组合。
如果你仍然无法记起密码,以下是一些更具体的解决方法:
1. 使用密码提示,在输入密码时,Excel通常会提示你设置一个密码提示。
这个提示可能会帮助你回忆起密码。
2. 使用密码恢复工具,有一些第三方工具可以帮助你恢复忘记的Excel密码。
这些工具可以通过暴力破解或其他方法来尝试解锁文件。
但请注意,使用第三方工具可能存在安全风险,因此请确保从可信赖的来源获取工具并且在使用后立即删除工具。
3. 重置密码,如果你无法通过上述方法解决问题,你可以考虑重置密码。
你可以尝试将文件另存为另一种格式或者将文件内容复制到新文档中,这样可以去除密码保护。
4. 使用Excel密码恢复服务,有一些在线服务可以帮助你恢复Excel密码。
你可以上传受保护的文件,并支付费用以获取密码。
5. 联系Microsoft支持,作为最后的手段,你可以尝试联系Microsoft支持团队寻求帮助。
他们可能有一些高级的方法来帮助
你解决问题。
总的来说,忘记Excel密码是一个令人沮丧的问题,但通常情
况下是可以解决的。
希望上述方法中的某一个能够帮助你解决问题。
excel强制解除保护工作表
excel强制解除保护工作表
要强制解除Excel工作表的保护,你可以按照以下步骤进行操作:
1. 首先,打开受保护的Excel工作表。
2. 在菜单栏中选择“文件”。
3. 点击“另存为”,选择“工作簿”并保存到本地。
4. 现在关闭原始的受保护工作表,打开新保存的工作簿文件。
5. 在新的工作簿中,再次点击“文件”,选择“信息”。
6. 点击“管理工作表保护”,选择“解除工作表保护”。
7. 如果工作表受密码保护,系统会提示你输入密码。
8. 输入密码后,点击“确定”即可解除工作表保护。
另外,如果你无法解除工作表保护,可能是因为你没有权限或者受到了文档保护。
在这种情况下,你可能需要联系文档的创建者或管理员,以获取必要的权限或密码来解除保护。
需要注意的是,强制解除工作表保护可能违反了文档的使用规定,建议在进行操作前先确认是否有相关权限或授权。
破解Excel工作表保护密码
破解Excel工作表保护密码一、保护工作表的方法1、全选定工作表右击[设置单元格格式] 找到[保护]将[锁定]和[隐藏]两个的勾去掉;2、将要保护的工作表单元格选定右击[设置单元格格式] 找到[保护]将[锁定]和[隐藏]两个的勾打上;3、点菜单栏的[工具]中的[保护]里的[保护工作表]将[保护工作表及锁定的单元内容]打上勾,下选允许此工作表的所有用户[选定未锁定的单元格]打上勾二、Excel工作表保护密码破解方法1、翻开您需要破解保护密码的Excel文件;2、依次____菜单栏上的工具---宏----录制新宏,输入宏名字如:aa;3、停顿录制(这样得到一个空宏);4、依次____菜单栏上的工具---宏----宏,选aa,点编辑按钮;5、删除窗口中的所有字符(只有几个),交换为下面的内容;从横线下开场复制------------------------------------------------------------------------------------------Option ExplicitPublic Sub AllInternalPasswords' Breaks worksheet and workbook structure passwords. Bob McCormick' probably originator of base code algorithm modified for coverage' of workbook structure / windows passwords and for multiple passwords'' Norman Harker and JE McGimpsey 27-Dec-2023 (Version 1.1)' Modified 2023-Apr-04 by JEM: All msgs to constants, and' eliminate one Exit Sub (Version 1.1.1)' Reveals hashed passwords NOT original passwords Const DBLSPACE As String = vbNewLine & vbNewLineConst AUTHORS As String = DBLSPACE & vbNewLine & _ "Adapted from Bob McCormick base code by" & _"Norman Harker and JE McGimpsey"Const HEADER As String = "AllInternalPasswords User Message"Const VERSION As String = DBLSPACE & "Version1.1.1 2023-Apr-04"Const REPBACK As String = DBLSPACE & "Pleasereport failure " & _"to the microsoft.public.excel.programming newsgroup."Const ALLCLEAR As String = DBLSPACE & "The workbook should " & _"now be free of all password protection, so make sure you:" & _DBLSPACE & "SAVE IT NOW!" & DBLSPACE & "and also" & _DBLSPACE & "BACKUP!, BACKUP!!, BACKUP" & _DBLSPACE & "Also, remember that the password was " & _"put there for a reason. Don't stuff up crucial formulas " & _"or data." & DBLSPACE & "Access and use of some data " & _"may be an offense. If in doubt, don't."Const MSGNOPWORDS1 As String = "There were no passwords on " & _"sheets, or workbook structure or windows." & AUTHORS & VERSIONConst MSGNOPWORDS2 As String = "There was no protection to " & _"workbook structure or windows." & DBLSPACE & _ "Proceeding to unprotect sheets." & AUTHORS & VERSIONConst MSGTAKETIME As String = "After pressing OK button this " & _"will take some time." & DBLSPACE & "Amount of time " & _"passwords, and your puter's specification." & DBLSPACE & _"Just be patient! Make me a coffee!" & AUTHORS & VERSIONConst MSGPWORDFOUND1 As String = "You had a Worksheet " & _"Structure or Windows Password set." & DBLSPACE & _"The password found was: " & DBLSPACE & "$$" & DBLSPACE & _"Note it down for potential future use in other workbooks by " & _"the same person who set this password." & DBLSPACE & _"Now to check and clear other passwords." & AUTHORS & VERSIONConst MSGPWORDFOUND2 As String = "You had a Worksheet " & _"password set." & DBLSPACE & "The password found was: " & _DBLSPACE & "$$" & DBLSPACE & "Note it down for potential " & _"future use in other workbooks by same person who " & _"set this password." & DBLSPACE & "Now to check and clear " & _"other passwords." & AUTHORS & VERSIONConst MSGONLYONE As String = "Only structure / windows " & _"protected with the password that was just found." & _ALLCLEAR & AUTHORS & VERSION & REPBACKDim w1 As Worksheet, w2 As WorksheetDim i As Integer, j As Integer, k As Integer, l As IntegerDim m As Integer, n As Integer, i1 As Integer, i2 As IntegerDim i3 As Integer, i4 As Integer, i5 As Integer, i6 As IntegerDim PWord1 As StringDim ShTag As Boolean, WinTag As BooleanApplication.ScreenUpdating = FalseWith ActiveWorkbookWinTag = .ProtectStructure Or .ProtectWindowsShTag = FalseFor Each w1 In WorksheetsShTag = ShTag Or w1.ProtectContentsNext w1If Not ShTag And Not WinTag ThenMsgBox MSGNOPWORDS1, vbInformation, HEADERExit SubMsgBox MSGTAKETIME, vbInformation, HEADERIf Not WinTag ThenMsgBox MSGNOPWORDS2, vbInformation, HEADERElseOn Error Resume NextDo 'dummy do loopFor i = 65 To 66: For j = 65 To 66: For k = 65 To 66For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126With ActiveWorkbook.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 .ProtectStructure = False And _.ProtectWindows = False ThenPWord1 = Chr(i) & Chr(j) & Chr(k) & Chr(l) & _Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)MsgBox Application.Substitute(MSGPWORDFOUND1, _ "$$", PWord1), vbInformation, HEADERExit Do 'Bypass all for...nextsNext: Next: Next: Next: Next: NextNext: Next: Next: Next: Next: NextLoop Until TrueOn Error GoTo 0If WinTag And Not ShTag ThenMsgBox MSGONLYONE, vbInformation, HEADERExit SubOn Error Resume NextFor Each w1 In Worksheets'Attempt clearance with PWord1w1.Unprotect PWord1Next w1On Error GoTo 0ShTag = FalseFor Each w1 In Worksheets'Checks for all clear ShTag triggered to 1 if not.ShTag = ShTag Or w1.ProtectContentsNext w1If ShTag ThenFor Each w1 In WorksheetsWith w1If .ProtectContents ThenOn Error Resume NextDo 'Dummy do loopFor i = 65 To 66: For j = 65 To 66: For k = 65 To 66For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126.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 Not .ProtectContents ThenPWord1 = Chr(i) & Chr(j) & Chr(k) & Chr(l) & _Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)MsgBox Application.Substitute(MSGPWORDFOUND2, _"$$", PWord1), vbInformation, HEADER'leverage finding Pword by trying on other sheets For Each w2 In Worksheetsw2.Unprotect PWord1Next w2Exit Do 'Bypass all for...nextsNext: Next: Next: Next: Next: NextNext: Next: Next: Next: Next: NextLoop Until TrueOn Error GoTo 0Next w1MsgBox ALLCLEAR & AUTHORS & VERSION & REPBACK, vbInformation, HEADER-----------------------------------------------------------------------------------------复制到横线以上6、关闭编辑窗口;7、依次____菜单栏上的工具---宏-----宏,选AllInternalPasswords,运行,确定两次;等一会,就会出现以下对话框:这就是Excel密码对应的原始密码(此密码和原先设置的密码都能翻开此文档。
excel忘记密码找回的三种方法
excel忘记密码找回的三种方法摘要:1.方法一:使用“忘记密码”功能2.方法二:使用在线密码找回工具3.方法三:重置密码正文:在日常工作和学习中,Excel表格的重要性不言而喻。
然而,在享受其便捷功能的同时,我们也可能会遇到忘记密码的情况。
为了帮助大家解决这个问题,本文将介绍三种找回Excel密码的方法。
首先,我们要了解的是,当您打开一个加密的Excel文件时,软件会提示您输入密码。
如果您在此时忘记了密码,可以尝试以下方法来找回。
方法一:使用“忘记密码”功能。
在输入密码界面,点击“忘记密码”选项。
接着,按照提示操作,通过注册表或其他途径找回密码。
这种方法适用于您曾在设置密码时填写过相关信息的情况。
方法二:使用在线密码找回工具。
互联网上有很多专业的密码找回工具,您可以尝试搜索并下载其中一个。
这类工具通常支持多种文件格式,不仅限于Excel。
使用时,请确保选择信誉良好的开发商,以防泄露您的个人信息。
方法三:重置密码。
如果以上两种方法都无法成功找回密码,您可以尝试重置密码。
操作步骤如下:1.打开Excel,点击“文件”菜单,选择“选项”。
2.在“常规”选项卡中,找到“信任中心”并点击。
3.在“信任中心”窗口中,选择“信任中心设置”。
4.在“信任中心设置”窗口的左侧菜单中,找到并点击“密码”。
5.在“密码”选项卡中,点击“重置密码”按钮。
按照提示操作,您将能够重新设置一个新的密码。
请注意,在设置新密码时,尽量选择复杂且不易被破解的组合,以保障文件安全。
总之,在遇到Excel密码遗忘问题时,您可以尝试上述三种方法。
希望这些方法能帮助您顺利找回密码,让日常工作和生活重新步入正轨。
如何能破解EXCEL工作表保护密码忘记密码怎么办
如何破解EXCEL工作表保护密码忘记密码怎么办1.新建一个EXCEL工作表,而后点击另存为,讲表格保存为启用宏的工作表2.一次点击开发工具---录制新宏,在弹出的对话框内修改宏名称而后确定3.依次点击开发工具----停止录制宏,宏录制完成4.依次点击开发工具,---宏----在弹出的对话框找到我们刚才录制的宏名称而后进入VBA界面5.在VBA界面,全选里面的代码,而后删除,讲里面的代码全部删除完6.代码复制到VBA编辑窗口内Public Sub AllInternalPasswords()' Breaks worksheet and workbook structure passwords. Bob McCormick' probably originator of base code algorithm modified for coverage' of workbook structure / windows passwords and for multiple passwords '' Norman Harker and JE McGimpsey 27-Dec-2002 (Version 1.1)' Modified 2003-Apr-04 by JEM: All msgs to constants, and' eliminate one Exit Sub (Version 1.1.1)' Reveals hashed passwords NOT original passwordsConst DBLSPACE As String = vbNewLine & vbNewLineConst AUTHORS As String = DBLSPACE & vbNewLine & _"Adapted from Bob McCormick base code by" & _"Norman Harker and JE McGimpsey"Const HEADER As String = "AllInternalPasswords User Message"Const VERSION As String = DBLSPACE & "Version 1.1.1 2003-Apr-04" Const REPBACK As String = DBLSPACE & "Please report failure " & _"to the microsoft.public.excel.programming newsgroup."Const ALLCLEAR As String = DBLSPACE & "The workbook should " & _ "now be free of all password protection, so make sure you:" & _ DBLSPACE & "SAVE IT NOW!" & DBLSPACE & "and also" & _DBLSPACE & "BACKUP!, BACKUP!!, BACKUP!!!" & _DBLSPACE & "Also, remember that the password was " & _"put there for a reason. Don't stuff up crucial formulas " & _"or data." & DBLSPACE & "Access and use of some data " & _"may be an offense. If in doubt, don't."Const MSGNOPWORDS1 As String = "There were no passwords on " & _ "sheets, or workbook structure or windows." & AUTHORS & VERSION Const MSGNOPWORDS2 As String = "There was no protection to " & _ "workbook structure or windows." & DBLSPACE & _"Proceeding to unprotect sheets." & AUTHORS & VERSIONConst MSGTAKETIME As String = "After pressing OK button this " & _ "will take some time." & DBLSPACE & "Amount of time " & _ "depends on how many different passwords, the " & _"passwords, and your computer's specification." & DBLSPACE & _ "Just be patient! Make me a coffee!" & AUTHORS & VERSIONConst MSGPWORDFOUND1 As String = "You had a Worksheet " & _ "Structure or Windows Password set." & DBLSPACE & _"The password found was: " & DBLSPACE & "$$" & DBLSPACE & _"Note it down for potential future use in other workbooks by " & _ "the same person who set this password." & DBLSPACE & _"Now to check and clear other passwords." & AUTHORS & VERSION Const MSGPWORDFOUND2 As String = "You had a Worksheet " & _ "password set." & DBLSPACE & "The password found was: " & _ DBLSPACE & "$$" & DBLSPACE & "Note it down for potential " & _ "future use in other workbooks by same person who " & _"set this password." & DBLSPACE & "Now to check and clear " & _ "other passwords." & AUTHORS & VERSIONConst MSGONLYONE As String = "Only structure / windows " & _ "protected with the password that was just found." & _ALLCLEAR & AUTHORS & VERSION & REPBACKDim w1 As Worksheet, w2 As WorksheetDim i As Integer, j As Integer, k As Integer, l As IntegerDim m As Integer, n As Integer, i1 As Integer, i2 As IntegerDim i3 As Integer, i4 As Integer, i5 As Integer, i6 As Integer Dim PWord1 As StringDim ShTag As Boolean, WinTag As BooleanApplication.ScreenUpdating = FalseWith ActiveWorkbookWinTag = .ProtectStructure Or .ProtectWindowsEnd WithShTag = FalseFor Each w1 In WorksheetsShTag = ShTag Or w1.ProtectContentsNext w1If Not ShTag And Not WinTag ThenMsgBox MSGNOPWORDS1, vbInformation, HEADERExit SubEnd IfMsgBox MSGTAKETIME, vbInformation, HEADERIf Not WinTag ThenMsgBox MSGNOPWORDS2, vbInformation, HEADERElseOn Error Resume NextDo 'dummy do loopFor 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 With ActiveWorkbook.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 .ProtectStructure = False And _.ProtectWindows = False ThenPWord1 = Chr(i) & Chr(j) & Chr(k) & Chr(l) & _Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)MsgBox Application.Substitute(MSGPWORDFOUND1, _ "$$", PWord1), vbInformation, HEADERExit Do 'Bypass all for...nextsEnd IfEnd WithNext: Next: Next: Next: Next: NextNext: Next: Next: Next: Next: NextLoop Until TrueOn Error GoTo 0End IfIf WinTag And Not ShTag ThenMsgBox MSGONLYONE, vbInformation, HEADERExit SubEnd IfOn Error Resume NextFor Each w1 In Worksheets'Attempt clearance with PWord1w1.Unprotect PWord1Next w1On Error GoTo 0ShTag = FalseFor Each w1 In Worksheets'Checks for all clear ShTag triggered to 1 if not. ShTag = ShTag Or w1.ProtectContentsNext w1If ShTag ThenFor Each w1 In WorksheetsWith w1If .ProtectContents ThenOn Error Resume NextDo 'Dummy do loopFor i = 65 To 66: For j = 65 To 66: For k = 65 To 66For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126.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 Not .ProtectContents ThenPWord1 = Chr(i) & Chr(j) & Chr(k) & Chr(l) & _Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)MsgBox Application.Substitute(MSGPWORDFOUND2, _"$$", PWord1), vbInformation, HEADER'leverage finding Pword by trying on other sheetsFor Each w2 In Worksheetsw2.Unprotect PWord1Next w2Exit Do 'Bypass all for...nextsEnd IfNext: Next: Next: Next: Next: NextNext: Next: Next: Next: Next: NextLoop Until TrueOn Error GoTo 0End IfEnd WithNext w1End IfMsgBox ALLCLEAR & AUTHORS & VERSION & REPBACK, vbInformation, HEADER End Sub点击保存7.点击开发工具,宏,找到我们刚才录制的宏,点击执行宏8.而后,在弹出的所有对话框上,都点击确定,都确定,1分钟后,就可以编辑了。
excel表格密码破解的方法
Excel表格密码破解的方法一、概述Excel表格是一款广泛使用的电子表格程序,它的安全性和隐私保护至关重要。
然而,有时候我们会忘记自己设置的Excel表格密码,或者需要破解别人设置的密码。
本文将对Excel表格密码破解的方法进行详细介绍,希望对大家有所帮助。
二、查看Excel表格的密码保护方式在尝试破解Excel表格密码之前,我们首先需要了解Excel表格的密码保护方式。
Excel表格的密码保护主要分为两种:文档开放密码和工作表保护密码。
文档开放密码用于限制用户打开Excel文档,而工作表保护密码则是用于限制其编辑或者查看内容。
我们需要查看Excel表格使用了哪种密码保护方式,以便有针对性地进行破解。
三、常见的Excel表格密码破解工具1. Excel密码破解大师Excel密码破解大师是目前比较流行的一款Excel表格密码破解工具,它可以帮助用户快速破解各种类型的Excel表格密码。
用户只需简单操作,即可轻松完成密码破解。
该工具操作简单,界面友好,适合各类用户使用。
2. Passper for ExcelPassper for Excel是一款专业的Excel表格密码破解软件,它可以帮助用户恢复忘记的Excel打开密码和修改密码。
该软件兼容各种版本的Excel文档,能够高效、安全地进行密码破解。
用户只需按照软件提示进行操作,即可完成密码破解。
3. iSunshare Excel密码破解iSunshare Excel密码破解是一款专业的Excel表格密码破解工具,它支持多种密码破解方式,包括暴力破解、字典破解和智能破解等。
用户可以根据自己的需求选择合适的破解方式,高效地破解Excel表格密码。
四、Excel表格密码破解的具体步骤1. 准备破解工具用户需要下载并安装一款专业的Excel表格密码破解工具,如Excel密码破解大师、Passper for Excel或iSunshare Excel密码破解等。
excel工作表保护破解
excel工作表保护破解Excel工作表保护破解。
在日常工作中,我们经常会使用Excel表格来存储和处理数据。
为了保护数据的安全性,我们经常会对Excel工作表进行保护。
但有时候我们会遇到需要修改或编辑被保护的工作表的情况,这就需要我们学会如何破解Excel工作表的保护。
破解Excel工作表保护并不是一件复杂的事情,下面我将向大家介绍几种常用的方法。
第一种方法是通过VBA代码来破解Excel工作表保护。
首先,我们需要按下Alt + F11组合键,打开VBA编辑器。
然后在新建的模块中输入以下代码:Sub UnprotectSheet()。
Dim ws As Worksheet。
For Each ws In ThisWorkbook.Worksheets。
ws.Unprotect Password:="yourpassword"Next ws。
End Sub。
在上面的代码中,yourpassword是你设置的工作表保护密码。
执行完上述代码后,所有工作表的保护都会被解除。
第二种方法是通过在线工具来破解Excel工作表保护。
有一些在线工具可以帮助我们破解Excel工作表的保护,例如LostMyPass、Password-Find等。
我们只需要上传被保护的Excel文件,这些工具就可以帮我们破解保护密码。
第三种方法是通过修改Excel文件的扩展名来破解Excel工作表保护。
我们可以将Excel文件的扩展名修改为.zip,然后解压缩这个压缩文件。
在解压缩后的文件夹中,我们可以找到xl目录,里面包含了workbook.xml和worksheets文件夹。
我们可以用记事本打开workbook.xml文件,找到<workbookProtection>节点,将其删除或者修改为<workbookProtection lockStructure="0" lockWindows="0"/>,然后保存文件。
excel文件密码破解方法
excel文件密码破解方法
要破解Excel文件的密码,有几种方法可以尝试。
以下是一些常用的方法:
1. 使用密码破解软件,有一些专门的密码破解软件可以帮助你破解Excel文件密码。
这些软件通常使用暴力破解或字典攻击等方法来尝试破解密码。
你可以在互联网上找到一些可靠的密码破解软件,但请注意使用合法的目的。
2. 使用VBA宏,如果Excel文件中启用了VBA宏,你可以通过编写一段简单的VBA代码来破解密码。
这种方法需要一定的编程知识,但可以尝试使用一些已有的VBA代码来破解密码。
3. 使用在线密码破解服务,有一些在线服务可以帮助你破解Excel文件密码。
你只需上传文件并等待服务破解密码。
然而,这种方法可能不是很安全,因为你需要将文件上传到第三方服务器。
4. 使用备份文件,如果你有Excel文件的备份副本,并且这个副本没有密码保护,你可以打开备份文件并保存为没有密码保护的新文件。
这种方法适用于你只是丢失了密码的情况。
5. 密码提示,有时候,Excel文件的创建者会设置密码提示。
如果你记得密码提示的内容,你可以尝试使用密码提示来回忆密码。
需要注意的是,破解密码是一项敏感的行为,应该遵守法律和
道德规范。
在尝试破解密码之前,请确保你有合法的权限来打开该
文件,并且尊重他人的隐私。
excel表格忘记密码怎么破解
excel表格忘记密码怎么破解一些有着重要的excel文件,工作表肯定会添加密码,但是有时会忘记密码,这是该如何破解呢?其实设置方法不难,有简单暴力的方法,下面随一起来看看excel表格破解工作表密码的方法,欢迎大家来到学习。
excel表格破解工作表密码的方法打开excel工作表。
然后在Excel表中找到【视图】。
点开【宏】。
然后选择【录制宏】。
接着会弹出一个窗口,点击【确定】。
在此点开【宏】,点击【停止录制】。
然后再点击【宏】,弹出窗口点击【编辑】。
然后点击【模板1】,并清空右边红框里的代码,如下图。
然后把破解代码复制粘贴进入空白处(破解代码将在文章最底部分享给大家)。
然后在打开【查看宏】,点击执行破解代码。
会弹出一个框,是英文的,看不懂没关系,点击确定,解密需要一段时间。
12破解代码:Public Sub AllInternalPasswords()' Breaks worksheet and workbook structure passwords. Bob McCormick' probably originator of base code algorithm modified for coverage' of workbook structure / windows passwords and for multiple passwords'' Norman Harker and JE McGimpsey 27-Dec-2002 (Version 1.1)' Modified 2003-Apr-04 by JEM: All msgs to constants, and' eliminate one Exit Sub (Version 1.1.1)' Reveals hashed passwords NOT original passwords Const DBLSPACE As String = vbNewLine & vbNewLineConst AUTHORS As String = DBLSPACE & vbNewLine & _"Adapted from Bob McCormick base code by" & _"Norman Harker and JE McGimpsey"Const HEADER As String = "AllInternalPasswords User Message"Const VERSION As String = DBLSPACE & "Version 1.1.1 2003-Apr-04"Const REPBACK As String = DBLSPACE & "Please report failure " & _"to the microsoft.public.excel.programming newsgroup."Const ALLCLEAR As String = DBLSPACE & "The workbook should " & _"now be free of all password protection, so make sure you:" & _DBLSPACE & "SAVE IT NOW!" & DBLSPACE & "and also" & _DBLSPACE & "BACKUP!, BACKUP!!, BACKUP!!!" & _DBLSPACE & "Also, remember that the password was " & _"put there for a reason. Don't stuff up crucial formulas " & _"or data." & DBLSPACE & "Access and use of some data " & _ "may be an offense. If in doubt, don't."Const MSGNOPWORDS1 As String = "There wereno passwords on " & _"sheets, or workbook structure or windows." & AUTHORS & VERSIONConst MSGNOPWORDS2 As String = "There was no protection to " & _"workbook structure or windows." & DBLSPACE & _"Proceeding to unprotect sheets." & AUTHORS & VERSIONConst MSGTAKETIME As String = "After pressing OK button this " & _"will take some time." & DBLSPACE & "Amount of time " & _"depends on how many different passwords, the " & _"passwords, and your computer's specification." & DBLSPACE & _"Just be patient! Make me a coffee!" & AUTHORS & VERSIONConst MSGPWORDFOUND1 As String = "You had a Worksheet " & _"Structure or Windows Password set." &DBLSPACE & _"The password found was: " & DBLSPACE & "" & DBLSPACE & _"Note it down for potential future use in other workbooks by " & _"the same person who set this password." & DBLSPACE & _"Now to check and clear other passwords." & AUTHORS & VERSIONConst MSGPWORDFOUND2 As String = "You had a Worksheet " & _"password set." & DBLSPACE & "The password found was: " & _DBLSPACE & "" & DBLSPACE & "Note it down for potential " & _"future use in other workbooks by same person who " & _"set this password." & DBLSPACE & "Now to check and clear " & _"other passwords." & AUTHORS & VERSIONConst MSGONLYONE As String = "Only structure /windows " & _"protected with the password that was just found." & _ALLCLEAR & AUTHORS & VERSION & REPBACKDim w1 As Worksheet, w2 As WorksheetDim i As Integer, j As Integer, k As Integer, l As IntegerDim m As Integer, n As Integer, i1 As Integer, i2 As Integer Dim i3 As Integer, i4 As Integer, i5 As Integer, i6 As Integer Dim PWord1 As StringDim ShT ag As Boolean, WinTag As BooleanApplication.ScreenUpdating = FalseWith ActiveWorkbookWinTag = .ProtectStructure Or .ProtectWindowsEnd WithShT ag = FalseFor Each w1 In WorksheetsShT ag = ShTag Or w1.ProtectContentsNext w1If Not ShTag And Not WinTag ThenMsgBox MSGNOPWORDS1, vbInformation, HEADERExit SubEnd IfMsgBox MSGTAKETIME, vbInformation, HEADERIf Not WinT ag ThenMsgBox MSGNOPWORDS2, vbInformation, HEADERElseOn Error Resume NextDo 'dummy do loopFor i = 65 To 66: For j = 65 To 66: For k = 65 To 66For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126With ActiveWorkbook.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 .ProtectStructure = False And _.ProtectWindows = False ThenPWord1 = Chr(i) & Chr(j) & Chr(k) & Chr(l) & _Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _Chr(i4) & Chr(i5) & Chr(i6) & Chr(n) MsgBox Application.Substitute(MSGPWORDFOUND1, _ "", PWord1), vbInformation, HEADERExit Do 'Bypass all for...nextsEnd IfEnd WithNext: Next: Next: Next: Next: NextNext: Next: Next: Next: Next: NextLoop Until TrueOn Error GoTo 0End IfIf WinTag And Not ShT ag ThenMsgBox MSGONLYONE, vbInformation, HEADERExit SubEnd IfOn Error Resume NextFor Each w1 In Worksheets'Attempt clearance with PWord1w1.Unprotect PWord1Next w1On Error GoTo 0ShT ag = FalseFor Each w1 In Worksheets'Checks for all clear ShTag triggered to 1 if not.ShT ag = ShTag Or w1.ProtectContentsNext w1If ShT ag ThenFor Each w1 In WorksheetsWith w1If .ProtectContents ThenOn Error Resume NextDo 'Dummy do loopFor i = 65 To 66: For j = 65 To 66: For k = 65 To 66For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126.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 Not .ProtectContents ThenPWord1 = Chr(i) & Chr(j) & Chr(k) & Chr(l) & _Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) &_Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)MsgBox Application.Substitute(MSGPWORDFOUND2, _"", PWord1), vbInformation, HEADER'leverage finding Pword by trying on other sheetsFor Each w2 In Worksheetsw2.Unprotect PWord1Next w2Exit Do 'Bypass all for...nextsEnd IfNext: Next: Next: Next: Next: NextNext: Next: Next: Next: Next: NextLoop Until TrueOn Error GoTo 0End IfEnd WithNext w1End IfMsgBox ALLCLEAR & AUTHORS & VERSION & REPBACK, vbInformation, HEADEREnd Sub11。
Excel各种密码解锁姿势(收藏备用)
Excel各种密码解锁姿势(收藏备用)Excel加密破解日常工作中,经常会遇到加密工作簿或者工作表忘记密码的情况,今天,我们就介绍一下excel常见加密类型,以及常用解决办法。
关于Excel方面的密码大致可以分为以下三种类型01工作薄打开密码、工作薄保护密码1.1工作簿保护密码Excel工作簿保护后(审阅 - 保护工作簿)保护后,工作表无法插入、删除和取消隐藏等操作。
解密方法:在上图工作表标签右键菜单中点击"查看代码“打开一个新的窗口(Visual baisc 编辑器),插入-模块,然后把下面的代码粘贴到右侧的空白窗口。
代码请输入内容Sub test()ActiveWorkbook.Sheets.CopyFor Each sh In ActiveWorkbook.Sheetssh.Visible = TrueNextEnd Sub把光标放在代码中,点工具栏中的运行按钮,运行上面代码后,会把原文件另存为一个新的Excel文件,这时只需要重新保存即可。
工作簿密码在新文件中已取消。
1.2工作簿打开密码加密方法:文件-信息-保护工作簿(13版本)加密过的工作簿,打开时候,只有输入密码才能看到工作簿内容。
破解方法:软件破解 Accent OFFICE Password Recovery 这个软件,我在网上找了好久,找到一个免费可用版!穷举破解,最慢,密码越简单越好破解。
链接:https:///s/1dG7TaUl密码:azc5 02工作表保护密码写保护方法:Excel工作簿保护后(审阅 - 保护工作表)破解方法:软件破解 Accent OFFICE Password Recovery秒破!(成功率90%以上)可能给出的密码和实际的密码不一致(编码问题),但是填入以后,绝对能解除密码。
03VBAProject工程密码加密方法:VBE工具-- VBAProject工程属性加密过保存以后,再打开vbe界面查看代码时,就出现以下提示。
excel破解表格保护的方法
excel破解表格保护的方法在Excel中设置表格保护是经常有的情况,但是如果万一忘记了表格保护的密码,数据就要不回来了,这个时候就需要动用一些技术把表格保护给破解了,接下来是店铺为大家带来的excel破解表格保护的方法,希望对你有用。
excel破解表格保护的方法:破解保护步骤1:新建宏录制新宏随便输入个名字如hong 点击“确定”按钮破解保护步骤2:点击“停止录制”按钮或从菜单“停止录制”宏破解保护步骤3:选择刚才所建的宏然后点击“编辑”按钮,会弹出代码编写窗口破解保护步骤4:填写代码将下面的代码全部复制必替换原来的字符,填写完毕后关闭该窗口//这里十分感谢原作者,因为经实践,确实好用。
Public Sub 工作表保护密码破解()Const DBLSPACE As String = vbNewLine & vbNewLineConst AUTHORS As String = DBLSPACE & vbNewLine & _"作者:圣天"Const HEADER As String = "工作表保护密码破解"Const VERSION As String = DBLSPACE & "版本 Version1.1.1"Const REPBACK As String = DBLSPACE & ""Const ZHENGLI As String = DBLSPACE &" XXXXXXX"Const ALLCLEAR As String = DBLSPACE & "该工作簿中的工作表密码保护已全部解除!!" & DBLSPACE & "请记得另保存"_ & DBLSPACE & "注意:不要用在不当地方,要尊重他人的劳动成果!"Const MSGNOPWORDS1 As String = "该文件工作表中没有加密"Const MSGNOPWORDS2 As String = "该文件工作表中没有加密2"Const MSGTAKETIME As String = "解密需花费一定时间,请耐心等候!" & DBLSPACE & "按确定开始破解!"Const MSGPWORDFOUND1 As String = "密码重新组合为:"& DBLSPACE & "$$" & DBLSPACE & _"如果该文件工作表有不同密码,将搜索下一组密码并修改清除"Const MSGPWORDFOUND2 As String = "密码重新组合为:"& DBLSPACE & "$$" & DBLSPACE & _"如果该文件工作表有不同密码,将搜索下一组密码并解除"Const MSGONLYONE As String = "确保为唯一的?"Dim w1 As Worksheet, w2 As WorksheetDim i As Integer, j As Integer, k As Integer, l As IntegerDim m As Integer, n As Integer, i1 As Integer, i2 As IntegerDim i3 As Integer, i4 As Integer, i5 As Integer, i6 As Integer Dim PWord1 As StringDim ShTag As Boolean, WinTag As BooleanApplication.ScreenUpdating = FalseWith ActiveWorkbookWinTag = .ProtectStructure Or .ProtectWindowsEnd WithShTag = FalseFor Each w1 InWorksheetsShTag = ShTag Or w1.ProtectContentsNext w1If Not ShTag And Not WinTag ThenMsgBox MSGNOPWORDS1, vbInformation, HEADERExit SubEnd IfMsgBox MSGTAKETIME, vbInformation, HEADERIf Not WinTag ThenElseOn Error Resume NextDo 'dummy do loopFor i = 65 To 66: For j = 65 To 66: For k = 65 To 66For 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 With ActiveWorkbook.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 .ProtectStructure = False And _.ProtectWindows = False ThenPWord1 = Chr(i) & Chr(j) & Chr(k) & Chr(l) & _Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)MsgBox Application.Substitute(MSGPWORDFOUND1, _ "$$", PWord1), vbInformation, HEADERExit Do 'Bypass all for...nextsEnd IfEnd WithNext: Next: Next: Next: Next: NextNext: Next: Next: Next: Next: NextLoop Until TrueOn Error GoTo 0End IfIf WinTag And Not ShTag ThenMsgBox MSGONLYONE, vbInformation, HEADERExit SubEnd IfOn Error Resume NextFor Each w1 InWorksheets'Attempt clearance with PWord1w1.Unprotect PWord1Next w1On Error GoTo 0ShTag = FalseFor Each w1 InWorksheets'Checks for all clear ShTag triggered to 1 if not. ShTag = ShTag Or w1.ProtectContentsNext w1If ShTag ThenFor Each w1 InWorksheetsWith w1If .ProtectContents ThenOn Error Resume NextDo 'Dummy do loopFor i = 65 To 66: For j = 65 To 66: For k = 65 To 66For 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 .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 Not .ProtectContents ThenPWord1 = Chr(i) & Chr(j) & Chr(k) & Chr(l) & _Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)MsgBox Application.Substitute(MSGPWORDFOUND2, _ "$$", PWord1), vbInformation, HEADER'leverage finding Pword by trying on other sheetsFor Each w2 InWorksheetsw2.Unprotect PWord1Next w2Exit Do 'Bypass all for...nextsEnd IfNext: Next: Next: Next: Next: NextNext: Next: Next: Next: Next: NextLoop Until TrueOn Error GoTo 0End IfEnd WithNext w1End IfMsgBox ALLCLEAR & AUTHORS & VERSION & REPBACK & ZHENGLI,vbInformation, HEADEREnd Sub破解保护步骤5:最后就来执行刚才所建的宏工具-宏-宏点击执行等带小段时间之后就可以看到效果了。
excel密码破解的三种方式——以备不时之需!(建议收藏)
excel密码破解的三种方式——以备不时之需!(建议收藏)现在的互联网信息时代,人们对信息安全比较敏感,也比较重视,确实,哪个人都不希望自己辛辛苦苦劳动得来的东西就这样被别人窃取了。
我们在日常的生活、工作中经常遇到Excel文件加密了,此时工作表就不能编辑修改,只能进行简单的复制操作,这时候我们最希望的就是能够将密码进行破解!excel工作表密码破解的方法大致有以下三种:1.VBA代码破解;2.将文件后缀名修改为RAR压缩文件后打开相关文件将加密代码删除;3.下载现成的插件。
在演示这三种解密方法之前,我们先对Excel文件进行加密,以便后面的操作演示:对身份证校验工作表进行加密提示输入密码才能修改,说明已经加密成功!下面依次演示如何使用这三种方法进行破解Excel文件的密码。
方法一:VBA代码破解右键单击身份证校验工作表,单击查看代码,如下图所示:然后粘贴以下VBA代码,在点击运行(F5),大功告成!Sub 密码破解()ActiveSheet.ProtectDrawingObjects:=True, CONTENTS:=True,AllowFiltering:=TrueActiveSheet.ProtectDrawingObjects:=False, CONTENTS:=True,AllowFiltering:=TrueActiveSheet.UnprotectEnd Sub其实代码还不止这个1.Sub RemoveShProtect()2.Dim i1 As Integer, i2 As Integer, i3As Integer3.Dim i4 As Integer, i5 As Integer, i6As Integer4.Dim i7 As Integer, i8 As Integer, i9As Integer5.Dim i10 As Integer, i11 As Integer,i12 As Integer6.Dim t As String7.On Error Resume Next8.If ActiveSheet.ProtectContents =False Then9.MsgBox '该工作表没有保护密码!'10.Exit Sub11.End If12.t = Timer13.For i1 = 65 To 66: For i2 = 65 To66: For i3 = 65 To 6614.For i4 = 65 To 66: For i5 = 65 To66: For i6 = 65 To 6615.For i7 = 65 To 66: For i8 = 65 To66: For i9 = 65 To 6616.For i10 = 65 To 66: For i11 = 65 To66: For i12 = 32 To 12617.ActiveSheet.Unprotect Chr(i1) &Chr(i2) & Chr(i3) & Chr(i4) & Chr(i5) _18.& Chr(i6) & Chr(i7) & Chr(i8) &Chr(i9) & Chr(i10) & Chr(i11) & Chr(i12)19.If ActiveSheet.ProtectContents =False Then20.MsgBox '解除工作表保护!用时' &Format(Timer - t, '0.00') & '秒'21.Exit Sub22.End If23.Next: Next: Next: Next: Next: Next24.Next: Next: Next: Next: Next: Next25.End Sub方法二:将文件后缀名修改为RAR压缩文件后打开相关文件将加密代码删除进行破解1、我们关闭工作簿,将此工作簿重命名修改文件后缀名为“rar”2、双击打开rar文件,找到'sheet1.xml',文件路径为“xl>>worksheets>>sheet1.xml”,因为身份证验证工作表是第一个工作表,所以选择sheet1.xml,要是第二个工作表加密就选择sheet2.xml,两个都加的话就两个文件都修改。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
破解Excel工作表保护密码1\打开文件2\工具---宏----录制新宏---输入名字如:aa3\停止录制(这样得到一个空宏)4\工具---宏----宏,选aa,点编辑按钮5\删除窗口中的所有字符(只有几个),替换为下面的内容:(你复制吧)Option ExplicitPublic Sub AllInternalPasswords()' Breaks worksheet and workbook structure passwords. Bob McCormick ' probably originator of base code algorithm modified for coverage' of workbook structure / windows passwords and for multiple passwords '' Norman Harker and JE McGimpsey 27-Dec-2002 (Version 1.1)' Modified 2003-Apr-04 by JEM: All msgs to constants, and' eliminate one Exit Sub (Version 1.1.1)' Reveals hashed passwords NOT original passwordsConst DBLSPACE As String = vbNewLine & vbNewLineConst AUTHORS As String = DBLSPACE & vbNewLine & _"Adapted from Bob McCormick base code by" & _"Norman Harker and JE McGimpsey"Const HEADER As String = "AllInternalPasswords User Message"Const VERSION As String = DBLSPACE & "Version 1.1.1 2003-Apr-04" Const REPBACK As String = DBLSPACE & "Please report failure " & _ "to the microsoft.public.excel.programming newsgroup."Const ALLCLEAR As String = DBLSPACE & "The workbook should " & _ "now be free of all password protection, so make sure you:" & _ DBLSPACE & "SAVE IT NOW!" & DBLSPACE & "and also" & _ DBLSPACE & "BACKUP!, BACKUP!!, BACKUP" & _DBLSPACE & "Also, remember that the password was " & _"put there for a reason. Don't stuff up crucial formulas " & _"or data." & DBLSPACE & "Access and use of some data " & _"may be an offense. If in doubt, don't."Const MSGNOPWORDS1 As String = "There were no passwords on " & _ "sheets, or workbook structure or windows." & AUTHORS & VERSION Const MSGNOPWORDS2 As String = "There was no protection to " & _ "workbook structure or windows." & DBLSPACE & _"Proceeding to unprotect sheets." & AUTHORS & VERSIONConst MSGTAKETIME As String = "After pressing OK button this " & _ "will take some time." & DBLSPACE & "Amount of time " & _"depends on how many different passwords, the " & _"passwords, and your computer's specification." & DBLSPACE & _"Just be patient! Make me a coffee!" & AUTHORS & VERSION Const MSGPWORDFOUND1 As String = "You had a Worksheet " & _ "Structure or Windows Password set." & DBLSPACE & _"The password found was: " & DBLSPACE & "$$" & DBLSPACE & _ "Note it down for potential future use in other workbooks by " & _ "the same person who set this password." & DBLSPACE & _"Now to check and clear other passwords." & AUTHORS & VERSION Const MSGPWORDFOUND2 As String = "You had a Worksheet " & _ "password set." & DBLSPACE & "The password found was: " & _ DBLSPACE & "$$" & DBLSPACE & "Note it down for potential " & _ "future use in other workbooks by same person who " & _"set this password." & DBLSPACE & "Now to check and clear " & _ "other passwords." & AUTHORS & VERSIONConst MSGONLYONE As String = "Only structure / windows " & _ "protected with the password that was just found." & _ALLCLEAR & AUTHORS & VERSION & REPBACKDim w1 As Worksheet, w2 As WorksheetDim i As Integer, j As Integer, k As Integer, l As IntegerDim m As Integer, n As Integer, i1 As Integer, i2 As IntegerDim i3 As Integer, i4 As Integer, i5 As Integer, i6 As IntegerDim PWord1 As StringDim ShTag As Boolean, WinTag As BooleanApplication.ScreenUpdating = FalseWith ActiveWorkbookWinTag = .ProtectStructure Or .ProtectWindowsEnd WithShTag = FalseFor Each w1 In WorksheetsShTag = ShTag Or w1.ProtectContentsNext w1If Not ShTag And Not WinTag ThenMsgBox MSGNOPWORDS1, vbInformation, HEADERExit SubEnd IfMsgBox MSGTAKETIME, vbInformation, HEADERIf Not WinTag ThenMsgBox MSGNOPWORDS2, vbInformation, HEADERElseOn Error Resume NextDo 'dummy do loopFor i = 65 To 66: For j = 65 To 66: For k = 65 To 66For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126 With ActiveWorkbook.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 .ProtectStructure = False And _.ProtectWindows = False ThenPWord1 = Chr(i) & Chr(j) & Chr(k) & Chr(l) & _Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)MsgBox Application.Substitute(MSGPWORDFOUND1, _ "$$", PWord1), vbInformation, HEADERExit Do 'Bypass all for...nextsEnd IfEnd WithNext: Next: Next: Next: Next: NextNext: Next: Next: Next: Next: NextLoop Until TrueOn Error GoTo 0End IfIf WinTag And Not ShTag ThenMsgBox MSGONLYONE, vbInformation, HEADERExit SubEnd IfOn Error Resume NextFor Each w1 In Worksheets'Attempt clearance with PWord1w1.Unprotect PWord1Next w1On Error GoTo 0ShTag = FalseFor Each w1 In Worksheets'Checks for all clear ShTag triggered to 1 if not.ShTag = ShTag Or w1.ProtectContentsNext w1If ShTag ThenFor Each w1 In WorksheetsWith w1If .ProtectContents ThenOn Error Resume NextDo 'Dummy do loopFor l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126.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 Not .ProtectContents ThenPWord1 = Chr(i) & Chr(j) & Chr(k) & Chr(l) & _Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)MsgBox Application.Substitute(MSGPWORDFOUND2, _"$$", PWord1), vbInformation, HEADER'leverage finding Pword by trying on other sheetsFor Each w2 In Worksheetsw2.Unprotect PWord1Next w2Exit Do 'Bypass all for...nextsEnd IfNext: Next: Next: Next: Next: NextNext: Next: Next: Next: Next: NextLoop Until TrueOn Error GoTo 0End IfEnd WithNext w1End IfMsgBox ALLCLEAR & AUTHORS & VERSION & REPBACK, vbInformation, HEADER End Sub6\关闭编辑窗口7\工具---宏-----宏,选AllInternalPasswords,运行,确定两次,等3分钟,再确定.OK,没有密码了!!。