Excel加密保护解锁.docx

  1. 1、本文档共35页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Excel加密保护解锁

Excel加密保护解锁   拿到一份Excel文件,由于有些内容加了保护,修改不了,于是到网上搜索了一下解密方法,找到一种试了一下有效,有大家吧!   1\打开文件   2\工具---宏----录制新宏---输入名字如:aa   3\停止录制(这样得到一个空宏)   4\工具---宏----宏,选aa,点编辑按钮   5\删除窗口中的所有字符(只有几个),替换为下面的内容你复制吧)   Option Explicit   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-XX (Version 1.1)    Modified XX-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 amp; vbNewLine   Const AUTHORS As String = DBLSPACE amp; vbNewLine amp; _   quot;Adapted from Bob McCormick base code byquot; amp; _   quot;Norman Harker and JE McGimpseyquot;   Const HEADER As String = quot;AllInternalPasswords User Messagequot;   Const VERSION As String = DBLSPACE amp; quot;Version 1.1.1 XX-Apr-04quot;   Const REPBACK As String = DBLSPACE amp; quotlease report failure quot; amp; _   quot;to the gramming newsgroup.quot;   Const ALLCLEAR As String = DBLSPACE amp; quot;The workbook should quot; amp; _   quot;now be free of all password protection, so make sure you:quot; amp; _   DBLSPACE amp; quot;SAVE IT NOW!quot; amp; DBLSPACE amp; quot;and alsoquot; amp; _   DBLSPACE amp; quot;BACKUP!, BACKUP!!, BACKUP!!!quot; amp; _   DBLSPACE amp; quot;Also, remember that the password was quot; amp; _   quot;put there for a reason. Dont stuff up crucial formulas quot; amp; _   quot;or data.quot; amp; DBLSPACE amp; quot;Access and use of some data quot; amp; _   quot;may be an offense. If in doubt, dont.quot;   Const MSGNOPWORDS1 As String = quot;There were no passwords on quot; amp; _   quot;sheets, or workbook structure or windows.quot; amp; AUTHORS amp; VERSION   Const MSGNOPWORDS2 As String = quot;There was no protection to quot; amp; _   quot;workbook structure or wi

您可能关注的文档

文档评论(0)

mmrs369 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档