网上破解方法很多,百以前用" />
乔山办公网我们一直在努力
您的位置:乔山办公网 > excel表格制作 > 如何破解<em>excel</em>宏密码的方法-excel vba 工程密码,vba打开有密码

如何破解<em>excel</em>宏密码的方法-excel vba 工程密码,vba打开有密码

作者:乔山办公网日期:

返回目录:excel表格制作


尊重知识产权吧,合法公民是不会为你破解的。
如果可以,直接向作者索取。


网上破解方法很多,以前用过一种找不到了,试试下面的代码:

Sub crack()
Dim i As Long
Dim FileName As String
i = 0
FileName = Application.GetOpenFilename("Excel文件(*.xls & *.xlsx),*.xls;*.xlsx", , "VBA破解")
FileName = Right(FileName, Len(FileName) - InStrRev(FileName, "\"))
Application.ScreenUpdating = False
line2: On Error GoTo line1
Workbooks.Open FileName, , True, , i
MsgBox "Password is " & i
Exit Sub
line1: i = i + 1
Resume line2
Application.ScreenUpdating = True
End Sub


有个叫offkey.exe的软件,是用来破译VBA工程密码的。
我之前自己设的密码忘了的时候就是用这个破解的。

相关阅读

关键词不能为空
极力推荐

ppt怎么做_excel表格制作_office365_word文档_365办公网