• 首  页
  • w10系统
  • win11系统
  • 雨林木风w10
  • 深度系统w10
  • 番茄花园w10
  • 萝卜家园w10
  • 系统之家w10
  • 电脑公司w10
当前位置: 主页 > 系统教程 > Excel有密码如何汉化?Excel密码汉化办法教程
Excel有密码如何汉化?Excel密码汉化办法教程

Excel有密码如何汉化?Excel密码汉化办法教程

时间:2012-05-19    作者:w10系统之家    来源:http://www.2015w10.cc

Excel有密码如何汉化?Excel密码汉化办法教程?
Excel密码汉化办法有许多,最常见的就是使用密码字典去解读,解读成功即为汉化,而本次使用的是宏命令,若是您还在一筹莫展,可以看看下文中的办法,因为涉及Excel重要文件,若是别人的东西,请获取授权!

  Excel密码汉化办法教程:

  1、进入加密的 Excel 用快捷命令Alt+F8 打开宏命令 窗口。

  2、在宏名一栏中 输入宏的名字 随意健入直接。

  3、输入完宏名后 创建的按钮就亮了 点击创建 你们就可以来到 新的界面了。

  4、将编辑框内的sub knife( )End sub删除 将下列代码 复制 上去。

  1. 01option Explicit
  2. 02public sub Allinternalpasswords()
  3. 03' Breaks worksheet and workbook structure passwords. Bob McCormick
  4. 04' probably originator of base code algorithm modified for coverage
  5. 05' of workbook structure / win passwords and for multiple passwords
  6. 06'
  7. 07' norman Harker and JE McGimpsey 27-dec-2002 (Version 1.1)
  8. 08' Modified 2003-Apr-04 by JEM: All msgs to constants, and
  9. 09' eliminate one Exit sub (Version 1.1.1)
  10. 10' Reveals hashed passwords noT original passwords
  11. 11Const dBLspACE As string = vbnewLine & vbnewLine
  12. 12Const AuTHoRs As string = dBLspACE & vbnewLine & _
  13. 13"Adapted from Bob McCormick base code by" & _
  14. 14"norman Harker and JE McGimpsey"
  15. 15Const HEAdER As string = "Allinternalpasswords user Message"
  16. 16Const VERsion As string = dBLspACE & "Version 1.1.1 2003-Apr-04"
  17. 17Const REpBACK As string = dBLspACE & "please report failure " & _
  18. 18"to the microsoft.public.excel.programming newsgroup."
  19. 19Const ALLCLEAR As string = dBLspACE & "The workbook should " & _
  20. 20"now be free of all password protection, so make sure you:" & _
  21. 21dBLspACE & "sAVE iT now!" & dBLspACE & "and also" & _
  22. 22dBLspACE & "BACKup!, BACKup!!, BACKup!!!" & _
  23. 23dBLspACE & "Also, remember that the password was " & _
  24. 24"put there for a reason. don't stuff up crucial formulas " & _
  25. 25"or data." & dBLspACE & "Access and use of some data " & _
  26. 26"may be an offense. if in doubt, don't."
  27. 27Const MsGnopwoRds1 As string = "There were no passwords on " & _
  28. 28"sheets, or workbook structure or win." & AuTHoRs & VERsion
  29. 29Const MsGnopwoRds2 As string = "There was no protection to " & _
  30. 30"workbook structure or win." & dBLspACE & _
  31. 31"proceeding to unprotect sheets." & AuTHoRs & VERsion
  32. 32Const MsGTAKETiME As string = "After pressing oK button this " & _
  33. 33"will take some time." & dBLspACE & "Amount of time " & _
  34. 34"depends on how many different passwords, the " & _
  35. 35"passwords, and your computer's specification." & dBLspACE & _
  36. 36"Just be patient! Make me a coffee!" & AuTHoRs & VERsion
  37. 37Const MsGpwoRdFound1 As string = "You had a worksheet " & _
  38. 38"structure or win password set." & dBLspACE & _
  39. 39"The password found was: " & dBLspACE & "$$" & dBLspACE & _
  40. 40"note it down for potential future use in other workbooks by " & _
  41. 41"the same person who set this password." & dBLspACE & _
  42. 42"now to check and clear other passwords." & AuTHoRs & VERsion
  43. 43Const MsGpwoRdFound2 As string = "You had a worksheet " & _
  44. 44"password set." & dBLspACE & "The password found was: " & _
  45. 45dBLspACE & "$$" & dBLspACE & "note it down for potential " & _
  46. 46"future use in other workbooks by same person who " & _
  47. 47"set this password." & dBLspACE & "now to check and clear " & _
  48. 48"other passwords." & AuTHoRs & VERsion
  49. 49Const MsGonLYonE As string = "only structure / win " & _
  50. 50"protected with the password that was just found." & _
  51. 51ALLCLEAR & AuTHoRs & VERsion & REpBACK
  52. 52dim w1 As worksheet, w2 As worksheet
  53. 53dim i As integer, j As integer, k As integer, l As integer
  54. 54dim m As integer, n As integer, i1 As integer, i2 As integer
  55. 55dim i3 As integer, i4 As integer, i5 As integer, i6 As integer
  56. 56dim pword1 As string
  57. 57dim shTag As Boolean, winTag As Boolean
  58. 58Application.screenupdating = False
  59. 59with Activeworkbook
  60. 60winTag = .protectstructure or .protectwin
  61. 61End with
  62. 62shTag = False
  63. 63For Each w1 in worksheets
  64. 64shTag = shTag or w1.protectContents
  65. 65next w1
  66. 66if not shTag And not winTag Then
  67. 67MsgBox MsGnopwoRds1, vbinformation, HEAdER
  68. 68Exit sub
  69. 69End if
  70. 70MsgBox MsGTAKETiME, vbinformation, HEAdER
  71. 71if not winTag Then
  72. 72MsgBox MsGnopwoRds2, vbinformation, HEAdER
  73. 73Else
  74. 74on Error Resume next
  75. 75do 'dummy do loop
  76. 76For i = 65 To 66: For j = 65 To 66: For k = 65 To 66
  77. 77For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66
  78. 78For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66
  79. 79For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126
  80. 80with Activeworkbook
  81. 81.unprotect Chr(i) & Chr(j) & Chr(k) & _
  82. 82Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & _
  83. 83Chr(i3) & Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
  84. 84if .protectstructure = False And _
  85. 85.protectwin = False Then
  86. 86pword1 = Chr(i) & Chr(j) & Chr(k) & Chr(l) & _
  87. 87Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _
  88. 88Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
  89. 89MsgBox Application.substitute(MsGpwoRdFound1, _
  90. 90"$$", pword1), vbinformation, HEAdER
  91. 91Exit do 'Bypass all for...nexts
  92. 92End if
  93. 93End with
  94. 94next: next: next: next: next: next
  95. 95next: next: next: next: next: next
  96. 96Loop until True
  97. 97on Error GoTo 0
  98. 98End if
  99. 99if winTag And not shTag Then
  100. 100MsgBox MsGonLYonE, vbinformation, HEAdER
  101. 101Exit sub
  102. 102End if
  103. 103on Error Resume next
  104. 104For Each w1 in worksheets
  105. 105'Attempt clearance with pword1
  106. 106w1.unprotect pword1
  107. 107next w1
  108. 108on Error GoTo 0
  109. 109shTag = False
  110. 110For Each w1 in worksheets
  111. 111'Checks for all clear shTag triggered to 1 if not.
  112. 112shTag = shTag or w1.protectContents
  113. 113next w1
  114. 114if shTag Then
  115. 115For Each w1 in worksheets
  116. 116with w1
  117. 117if .protectContents Then
  118. 118on Error Resume next
  119. 119do 'dummy do loop
  120. 120For i = 65 To 66: For j = 65 To 66: For k = 65 To 66
  121. 121For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66
  122. 122For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66
  123. 123For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126
  124. 124.unprotect Chr(i) & Chr(j) & Chr(k) & _
  125. 125Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _
  126. 126Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
  127. 127if not .protectContents Then
  128. 128pword1 = Chr(i) & Chr(j) & Chr(k) & Chr(l) & _
  129. 129Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _
  130. 130Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
  131. 131MsgBox Application.substitute(MsGpwoRdFound2, _
  132. 132"$$", pword1), vbinformation, HEAdER
  133. 133'leverage finding pword by trying on other sheets
  134. 134For Each w2 in worksheets
  135. 135w2.unprotect pword1
  136. 136next w2
  137. 137Exit do 'Bypass all for...nexts
  138. 138End if
  139. 139next: next: next: next: next: next
  140. 140next: next: next: next: next: next
  141. 141Loop until True
  142. 142on Error GoTo 0
  143. 143End if
  144. 144End with
  145. 145next w1
  146. 146End if
  147. 147MsgBox ALLCLEAR & AuTHoRs & VERsion & REpBACK, vbinformation, HEAdER
  148. 148End sub
复制代码

option Explicitpublic sub Allinternalpasswords()' Breaks worksheet and workbook structure passwords. Bob McCormick' probably originator of base code algorithm modified for coverage' of workbook structure / win 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 win." & AuTHoRs & VERsionConst MsGnopwoRds2 As string = "There was no protection to " & _"workbook structure or win." & 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 win 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 / win " & _"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 .protectwinEnd 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 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 _.protectwin = 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

  5、关上 宏窗口 回到Excel下 按ALT+F8 重新打开 宏命令窗口。

  6、您会发现 您前面输入的宏名 变成了Allinternalpasswords 点击执行 会出现如下对话框 点确定。

  7、一直点 确定 直到不在 出现对话框为止。

  8、等待 一段之间之后 系统会 再次跳出对话框 再点确定 保护就汉化成功了。

  !!!注:上述办法仅作为参考教材,请勿用于非法途径。

  上述内容就是Excel密码汉化办法的操作步骤,下次请用户在配置Excel密码的时候尽或许的容易一些,并记录下密码备份,避免再次需要使用宏。(责任编辑:chenhai)

------分隔线----------------------------
  • 上一篇:w10装机版专业版怎么激活?
  • 下一篇:w7电脑升级失败提示“错误8024000B”如何处理?
  • 收藏
  • 挑错
  • 推荐
  • 打印
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
最新评论
栏目专题推荐
  • 魔法猪win7系统下载
  • u启动官网
  • 系统之家一键重装系统
  • 装机版机大师
  • 华硕官网
  • 土豆重装系统
  • 韩博士装机助手
  • 熊猫装机大师
  • 玉米u盘装系统
  • win10装机卫士
  • 企业版一键重装系统
  • 黑鲨win10系统下载
  • 小鱼一键重装系统
  • 飞飞装机助手
  • 番茄家园装机助理
  • 云帆装机管家
  • 金山xp系统下载
  • 西瓜装机管家
  • 惠普装机大师
  • 雨木风林win8系统下载
W10 64位 系统推荐
  • 深度技术免激活win11 64位…
  • 番茄花园win10 64位光速抢…
  • 番茄花园win11光速特别版6…
  • 电脑公司win11免激活64位…
  • 深度技术最新64位win7无卡…
  • 电脑公司win7免激活64位特…
  • 雨林木风免激活win10 64位…
  • 系统之家win10 64位零度优…
  • 雨林木风win11 64位 免激…
  • 电脑公司win10免激活64位…
  • 番茄花园win7 64位光速国…
  • 系统之家win7纪念快速版64…

W10系统排行
  • 1.深度技术免激活win11 64位…
  • 2.番茄花园win10 64位光速抢…
  • 3.番茄花园win11光速特别版6…
  • 4.电脑公司win11免激活64位…
  • 5.深度技术最新64位win7无卡…
  • 6.电脑公司win7免激活64位特…
  • 7.雨林木风免激活win10 64位…
  • 8.系统之家win10 64位零度优…
  • 9.雨林木风win11 64位 免激…
  • 10.电脑公司win10免激活64位…
  • 11.番茄花园win7 64位光速国…
  • 12.系统之家win11加强专用版6…
  • 13.萝卜家园最新64位win7功能…
  • 14.系统之家win7纪念快速版64…
  • 15.雨林木风win7免激活64位中…

系统教程推荐
  • 1.win10系统怎么清理使用痕…
  • 2.怎么禁止win10电脑安装任…
  • 3.大师研习win10系统使用优…
  • 4.小编研习win10系统提示“d…
  • 5.笔者设置win10系统桌面ie1…
  • 6.解答win10系统无法打开360…
  • 7.老司机解答win10系统yy语…
  • 8.技术编辑练习win10系统打…
  • 9.怎么解答win10系统U盘进行…
  • 10.处理win10系统打开视频聊…
  • 11.主编恢复win10系统访问共…
  • 12.技术编辑练习win10系统无…
  • 13.怎么操作win10系统使用iE…
  • 14.手把手帮你win10系统使用Q…
  • 15.图文操作win10系统远程连…

友情链接


本站所有软件和资料来源于互联网,仅供学习和研究使用,请测试后请于24小时内自行销毁,如有侵犯你版权的,请来信指出,本站将立即改正。