Public Sub 工作表保护密码破解() xA
Ez1
Const DBLSPACE As String = vbNewLine & vbNewLine >g{&Qx`&
Const AUTHORS As String = DBLSPACE & vbNewLine & _ )ovAG O
"作者:XXXXXXX" $~b6H]"9
Const HEADER As String = "工作表保护密码破解" JI.=y5I
Const VERSION As String = DBLSPACE & "版本 Version 1.1.1"
b M1\z
Const REPBACK As String = DBLSPACE & "" 6U ! P8q
Const ZHENGLI As String = DBLSPACE & " XXXXXXX" / rc[HbNg.
Const ALLCLEAR As String = DBLSPACE & "该工作簿中的工作表密码保护已全部解除!!" & DBLSPACE & "请记得另保存" _ @bA5uY!
& DBLSPACE & "注意:不要用在不当地方,要尊重他人的劳动成果!"
d78 [(;
Const MSGNOPWORDS1 As String = "该文件工作表中没有加密" oM!&S'M/
Const MSGNOPWORDS2 As String = "该文件工作表中没有加密2" ({j8|{)+
Const MSGTAKETIME As String = "解密需花费一定时间,请耐心等候!" & DBLSPACE & "按确定开始破解!" VBL4cU8D
Const MSGPWORDFOUND1 As String = "密码重新组合为:" & DBLSPACE & "$$" & DBLSPACE & _ x9Z89Gwi
"如果该文件工作表有不同密码,将搜索下一组密码并修改清除" */M`KPW
Const MSGPWORDFOUND2 As String = "密码重新组合为:" & DBLSPACE & "$$" & DBLSPACE & _ nnj<k5
"如果该文件工作表有不同密码,将搜索下一组密码并解除" 0beP7}$
Const MSGONLYONE As String = "确保为唯一的?" X=#us7W}
Dim w1 As Worksheet, w2 As Worksheet > mO*.' Gm
Dim i As Integer, j As Integer, k As Integer, l As Integer VH]}{i"`
Dim m As Integer, n As Integer, i1 As Integer, i2 As Integer kAEq +{h
Dim i3 As Integer, i4 As Integer, i5 As Integer, i6 As Integer a|z-EKV
Dim PWord1 As String csW\Q][
Dim ShTag As Boolean, WinTag As Boolean :*KTpTa
Application.ScreenUpdating = False F^gTID
With ActiveWorkbook m*]`/:/X[
WinTag = .ProtectStructure Or .ProtectWindows ^ 4<