excel宏密码破解工具 如何破解excel宏密码的方法

在Excel中经常需要设置密码保护重要的数据,但时间过后密码就会容易忘记,这个时候就需要破解密码了,接下来是小编为大家带来的如何破解excel宏密码的方法,希望对你有用。

如何破解excel宏密码的方法:

破解宏密码步骤1:打开需要破解的文件,并点开需要输入密码的界面,如图

破解宏密码步骤2:使用EXCEL.EXE重新打开一个工作簿。

破解宏密码步骤3:打开新工作簿的VBA代码区域,并插入一个模块。

破解宏密码步骤4:插入如下代码

Sub test()

Dim st, nd, th3, th4, th5, th6, th7, th8 As Variant

Dim ii, jj, kk, ll, mm, nn, oo, pp, qq As Integer

Dim PADN, PD, IJ, JK, PADNO, speed

speed = 0.005

st = Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z")

nd = Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z")

th3 = Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z")

th4 = Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z")

th5 = Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z")

th6 = Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z")

th7 = Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z")

th8 = Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z")

PADN = InputBox("How long the password is", "Guilin Hu", 4)

PADNO = CInt(PADN)

For IJ = 1 To 100

If Sheet1.Cells(IJ, 1) = "" Then

Sheet1.Cells(IJ, 1) = Now

Exit For

Else

End If

Next IJ

PauseTime = 2

Start = Timer

Do While Timer < Start + PauseTime

DoEvents

Loop

Finish = Timer

Select Case (PADNO)

Case 1

For ii = 0 To 61

PD = st(ii)

SendKeys PD

PauseTime = speed

Start = Timer

Do While Timer < Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

PauseTime = speed

Start = Timer

Do While Timer < Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

Next ii

Case 2

For ii = 0 To 61

For jj = 0 To 61

PD = st(ii) & nd(jj)

SendKeys PD

PauseTime = speed

Start = Timer

Do While Timer < Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

PauseTime = speed

Start = Timer

Do While Timer < Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

Next jj

Next ii

Case 3

For ii = 0 To 61

For jj = 0 To 61

For kk = 0 To 61

PD = st(ii) & nd(jj) & th3(kk)

SendKeys PD

PauseTime = speed

Start = Timer

Do While Timer < Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

PauseTime = speed

Start = Timer

Do While Timer < Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

Next kk

Next jj

Next ii

Case 4

For ii = 0 To 61

For jj = 0 To 61

For kk = 0 To 61

For ll = 0 To 61

PD = st(ii) & nd(jj) & th3(kk) & th4(ll)

SendKeys PD

PauseTime = speed

Start = Timer

Do While Timer < Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

PauseTime = speed

Start = Timer

Do While Timer < Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

Next ll

Next kk

Next jj

Next ii

Case 5

For ii = 0 To 61

For jj = 0 To 61

For kk = 0 To 61

For ll = 0 To 61

For mm = 0 To 61

PD = st(ii) & nd(jj) & th3(kk) & th4(ll) & th5(mm)

SendKeys PD

PauseTime = speed

Start = Timer

Do While Timer < Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

PauseTime = speed

Start = Timer

Do While Timer < Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

Next mm

Next ll

Next kk

Next jj

Next ii

Case 6

excel宏密码破解工具 如何破解excel宏密码的方法

For ii = 0 To 61

For jj = 0 To 61

For kk = 0 To 61

For ll = 0 To 61

For mm = 0 To 61

For nn = 0 To 61

PD = st(ii) & nd(jj) & th3(kk) & th4(ll) & th5(mm) & th6(nn)

SendKeys PD

PauseTime = speed

Start = Timer

Do While Timer < Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

PauseTime = speed

Start = Timer

Do While Timer < Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

Next nn

Next mm

Next ll

Next kk

Next jj

Next ii

Case 7

For ii = 0 To 61

For jj = 0 To 61

For kk = 0 To 61

For ll = 0 To 61

For mm = 0 To 61

For nn = 0 To 61

For oo = 0 To 61

PD = st(ii) & nd(jj) & th3(kk) & th4(ll) & th5(mm) & th6(nn) & th7(oo)

SendKeys PD

PauseTime = speed

Start = Timer

Do While Timer < Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

PauseTime = speed

Start = Timer

Do While Timer < Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

Next oo

Next nn

Next mm

Next ll

Next kk

Next jj

Next ii

Case 8

For ii = 0 To 61

For jj = 0 To 61

For kk = 0 To 61

For ll = 0 To 61

For mm = 0 To 61

For nn = 0 To 61

For oo = 0 To 61

For pp = 0 To 61

PD = st(ii) & nd(jj) & th3(kk) & th4(ll) & th5(mm) & th6(nn) & th7(oo) & th8(pp)

SendKeys PD

PauseTime = speed

Start = Timer

Do While Timer < Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

PauseTime = speed

Start = Timer

Do While Timer < Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

Next pp

Next oo

Next nn

Next mm

Next ll

Next kk

Next jj

Next ii

End Select

For JK = 1 To 100

If Sheet1.Cells(JK, 2) = "" Then

Sheet1.Cells(JK, 2) = Now

Exit For

Else

End If

Next JK

End Sub

破解宏密码步骤5:按F5执行代码,输入密码长度。如果不知道密码的长度,就猜,第一次输1,第二次输2。。。依次试。

破解宏密码步骤6:输入密码长度后,点击确定。并在2s内将鼠标的焦点点在最开始要破解文件的密码输入框里边。接下来的工作就是“静候佳音”了。。哈哈。。

破解宏密码步骤7:没有破解不开的密码。主要的是你有时间就好!1位密码破解最长时间:62/(1/0.005)=0.31秒;2位数密码破解最长时间:62*62/(1/0.005)=19.22秒。。。依次类推:N位数密码破解时间:(62)的N次方/(1/0.005)秒的时间。就看您的耐性了!破解完成之后就会自动进去VBA代码模块。

破解宏密码步骤8:接下来就是修改别人的密码了!进去果断点击VBA工程属性,。。。“干啥?”。。。。哈哈 改密!!

破解宏密码步骤9:看哥的密码改的!哈哈。。。

看了如何破解excel宏密码的方法还看了:

1.excel2010 vba 密码破解的方法

2.excel2013关于VBA密码破解的教程

3.巧用宏命令来为Excel工作表公式加密码

4.excel2013宏被禁用的解决方法

5.excel2013宏的录制方法

6.excel2013删除宏的方法

7.excel2013怎么加载宏的方法

  

爱华网本文地址 » http://www.aihuau.com/a/214261/812384120.html

更多阅读

无线路由器wifi密码破解工具使用教程 cdlinux破解wifi教程

无线路由器wifi密码破解工具使用教程——简介无线wifi广泛的应用在我们现在的日常生活当中,我们的电脑啊,智能手机啊都需要上网,面对周围共享的无线wifi热点,如果能破解wifi蹭网那该多么好啊,想想都有点小激动。我就给大家介绍两种目前最

excel工作表密码破解方法 如何取消excel打开密码

excel工作表密码破解方法——简介 在日常工作中,大家有时会遇到过这样的情况:使用Excel编制的报表、表格、程序等,在单元格中设置了公式、函数等,为了防止其他人修改您的设置或者防止您自己无意中修改,您可能会使用Excel的工作表保护功能

介绍三款好用的密码管理工具软件 微信密码破解工具软件

为何需要使用密码管理工具?在问这个问题之前,可以想想自己有没有以下做法:如果有上述做法之一,则你需要重新考虑你的密码管理习惯和工具,否则将面临安全风险。密码太简单了容易被人猜出,即使是中等难度的密码破解也不算太难。现在流氓

五款RAR密码破解工具软件推荐 rar密码破解工具安卓

工作中常常出于保密或其他原因对RAR压缩文件进行加密处理。但悲剧的是总有人把密码给忘掉了,于是乎到处寻找RAR密码破解工具以求解决问题。MTOOU.INFO穆童这一劳永逸给他家推荐五款优秀的RAR密码破解软件供大家参考使用,以解大家寻觅

密码破解工具大全200种 s7200密码破解软件

现在电子计算机上的密码越来越多,我们每天都要用到密码,跟密码有关的东西实在是太多了,现在我们密码破解资料站收集网络上密码破解资料,这套密码破解字资料包括了电脑开机密码,Windows 启动密码破解,屏幕保护密码破解,电源管理密码破解,

声明:《excel宏密码破解工具 如何破解excel宏密码的方法》为网友男人不能说不行分享!如侵犯到您的合法权益请联系我们删除