当前位置:首页 > 日记 > 正文

怎样破解EXCEL密码? 求大虾了

怎样破解EXCEL密码? 求大虾了

如何EXCEL工作表保护密码方法谈 超级无敌有用!!! 方法: 1打开文件 2工具---宏----录制新宏---输入名字如:aa 3停止录制(这样得到一个空宏) 4工具---宏----宏,选aa,点编辑按钮 5删除窗口中的所有字符,替换为下面的内容:(复制吧) 6关闭编辑窗口 7工具---宏-----宏,选AllInternalPasswords,运行,确定两次,等2分钟,再确定.OK,没有密码了!! 内容如下: 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 & vbNewLine Const 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 & VERSION Const 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 & VERSION Const MSGONLYONE As String = Only structure / windows & _ protected with the password that was just found. & _ ALLCLEAR & AUTHORS & VERSION & REPBACK Dim w1 As Worksheet, w2 As Worksheet Dim i As Integer, j As Integer, k As Integer, l As Integer Dim 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 String Dim ShTag As Boolean, WinTag As Boolean Application.ScreenUpdating = False With ActiveWorkbook WinTag = .ProtectStructure Or .ProtectWindows End With ShTag = False For Each w1 In Worksheets ShTag = ShTag Or w1.ProtectContents Next w1 If Not ShTag And Not WinTag Then MsgBox MSGNOPWORDS1, vbInformation, HEADER Exit Sub End If MsgBox MSGTAKETIME, vbInformation, HEADER If Not WinTag Then MsgBox MSGNOPWORDS2, vbInformation, HEADER Else On Error Resume Next Do 'dummy do loop 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 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 Then PWord1 = 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, HEADER Exit Do 'Bypass all for...nexts End If End With Next: Next: Next: Next: Next: Next Next: Next: Next: Next: Next: Next Loop Until True On Error GoTo 0 End If If WinTag And Not ShTag Then MsgBox MSGONLYONE, vbInformation, HEADER Exit Sub End If On Error Resume Next For Each w1 In Worksheets 'Attempt clearance with PWord1 w1.Unprotect PWord1 Next w1 On Error GoTo 0 ShTag = False For Each w1 In Worksheets 'Checks for all clear ShTag triggered to 1 if not. ShTag = ShTag Or w1.ProtectContents Next w1 If ShTag Then For Each w1 In Worksheets With w1 If .ProtectContents Then On Error Resume Next Do 'Dummy do loop 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 .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 Then PWord1 = 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 Worksheets w2.Unprotect PWord1 Next w2 Exit Do 'Bypass all for...nexts End If Next: Next: Next: Next: Next: Next Next: Next: Next: Next: Next: Next Loop Until True On Error GoTo 0 End If End With Next w1 End If MsgBox ALLCLEAR & AUTHORS & VERSION & REPBACK, vbInformation, HEADER End Sub

相关文章

消息称广达考虑把苹果MacBook Pro

消息称广达考虑把苹果MacBook Pro

广达,重庆,上海,消息称,迁至,  据 DigiTimes 援引供应链消息人士称,苹果供应商广达正在考虑将其 MacBook Pro 生产迁至中国重庆工厂的可行性,因为其上海工厂的产量仍受到疫情管控的限制。此举可能会逐步提高 MacBook Pro 机型的产能,并缩短…

美股大跌 苹果一夜蒸发1363亿美元

美股大跌 苹果一夜蒸发1363亿美元

美元,美股,一夜,电脑软件,iPhone,  当地时间5月18日,美股三大股指大幅下跌。截至收盘,道琼斯工业平均指数重挫1164.52点,报31490.07点,跌幅达3.57%,创2020年6月11日以来最大跌幅;纳斯达克综合指数下跌4.73%,报11418.15点,创5月6日以来最大跌幅;标…

如何解密excel密码,密码不是全数字?

如何解密excel密码,密码不是全数字?

密码,解密,数字,电脑软件,excel,在Excel使用过程中,为了减少数据泄露的风险,会通过密码来保护工作表。可是一段时间后密码忘记,这该咋办呀?有木有什么方法去除工作保护呢?工作中,会遇到下图的情况。无法编辑保护的工作表。双击时,会有提示。遇到这…

excel如何行列互换?

excel如何行列互换?

互换,转置,行列,怎么弄,电脑软件,利用“转置”功能可以实现行列互换,操作方法: 首先复制需要转置的数据区域,应该是一个标准的矩形框,鼠标在矩形的一角点下不放、拖到矩形的对角才放开,这个一个矩形块就被选择了; 第二步是复制选择…

Intel Arc锐炫显卡杀手锏来了:AV1视

Intel Arc锐炫显卡杀手锏来了:AV1视

性能,显卡,来了,杀手锏,高出,  3月份Intel推出了Arc锐炫系列游戏独显,圆了24年前的梦,不过首批产品主要是面向笔记本的移动版,而且这两天国内才有Arc锐炫显卡的笔记本上市,那就是机械师的曙光16,首发7499元。曙光16搭载的显卡型号是Intel Arc …

excel ROUND函数的用法?

excel ROUND函数的用法?

函数,电脑软件,excel,1、首先打开excel软件并输入相关的信息。2、然后在B1单元格输入=ROUND(A1,2), 其中A1是输入数据的位置,然后2是保留的小数位。3、最后敲击回车就是经过四舍五入之后保留2位小数的结果。不少朋友都会问在excel中round函数…

excel表格如何设置密码?

excel表格如何设置密码?

密码,表格,如何设置,电脑软件,excel,在win7中,以Excel2007为例,可参考以下步骤为表格设置密码:1、点击菜单栏“文件”。2、点选“另存为”选项弹出保存设置界面。3、点击“工具”按扭,在工具下拉列表框中选择“常规选项”。较低版本的EXCEL直接…

免费的pdf转excel转换器有什么?

免费的pdf转excel转换器有什么?

有什么,电脑软件,pdf,excel,pdf转excel怎么转?pdf转excel方法介绍,在日常生活中经常需要处理不同的表单,但很多表单并不是以EXCEL表格形式存留着的,大多数为PDF便携式文档,这样一来的话不可直接编辑修改,那如何解决这一问题呢,下面小编简单的给大…

Anker发布563 USB-C扩展坞 为M1 Ma

Anker发布563 USB-C扩展坞 为M1 Ma

显示,支持,扩展,电脑软件,Anker,  虽然苹果早期基于M1的Mac电脑只能正式支持一个外部显示器,但也有办法绕过这个限制。Anker今天推出了一个新的10合1USB-C扩展坞,它提供了这个功能。Anker 563USB-C基座包括两个HDMI端口和一个DisplayPort端…

怎样制作表格

怎样制作表格

表格,电脑软件,excel家园全面的excel教程下载 Microsoft Excel是微软公司的办公软件Microsoft office的组件之一,是由Microsoft为Windows和Apple Macintosh操作系统的电脑而编写和运行的一款试算表软件。Excel 是微软办公套装软件的一个重要…

Intel 13代酷睿i9-13900K曝光:升级2

Intel 13代酷睿i9-13900K曝光:升级2

酷睿,缓存,升级,电脑软件,MB,  12代酷睿良好的口碑能否在13代酷睿Raptor Lake上得到延续?起码从CPU规格来看,Intel依然要把“牙膏挤爆”,表现出满满诚意。一张泄露的13代酷睿i9-13900K的CPU-Z识别图显示, 处理器采用8大核+16小核…

Excel数据有效性如何设置?

Excel数据有效性如何设置?

数据有效性,如何设置,电脑软件,Excel,Excel中的数据有效性怎么用?什么是数据有效性?在Excel新版中它叫数据验证,老版中才叫数据有效性,作用是什么?如下图的表格,比如在性别选项中,肯定是男女选项吧,偏偏有些奇葩总是喜欢填公母,雌雄......填个年龄吧…