excel表写保护破解(最新整理)_第1页
excel表写保护破解(最新整理)_第2页
excel表写保护破解(最新整理)_第3页
免费预览已结束,剩余1页可下载查看

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、oulangwokuan | 分类:办公软件 | 浏览 12912 次打开 excel 表格工具保护撤销工作表保护, 有没有人能给发个软件破解一下啊?分享到:2011-07-07 12:56 提问者采纳打开文件2工具-宏-录制新宏-输入名字如:aa3停止录制(这样得到一个空宏)4工具-宏宏,选 aa,点编辑按钮5删除窗口中的所有字符(只有几个),替换为下面的内容:(你复制吧) option explicitpublic sub allinternalpasswords() breaks worksheet and workbook structure passwords. bob mccorm

2、ick 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-2002 (version 1.1) modified 2003-apr-04 by jem: all msgs to constants, and eliminate one exit sub (version 1.1.1) reveals ha

3、shed passwords not original passwords const dblspace as string = vbnewline & vbnewlineconst authors as string = dblspace & vbnewline & _ adapted from bob mccormick base code by & _norman harker and je mcgimpseyconst header as string = allinternalpasswords user messageconst version as string = dblspa

4、ce & version 1.1.1 2003-apr-04 const repback as string = dblspace & please report failure & _ to the gramming newsgroup.const allclear as string = dblspace & the workbook should &_now be free of all password protection, so make sure you: & _ dblspace & save it now! & dblspa

5、ce & and also & _ dblspace & backup!, backup!, backup! & _dblspace & also, remember that the password was & _ put there for a reason. dont stuff up crucial formulas & _or data. & dblspace & access and use of some data & _ may be an offense. if in doubt, dont.const msgnopwords1 as string = there were

6、 no passwords on &_sheets, or workbook structure or windows. & authors & version const msgnopwords2 as string = there was no protection to & _ workbook structure or windows. & dblspace & _proceeding to unprotect sheets. & authors & versionconst msgtaketime as string = after pressing ok button this &

7、 _ will take some time. & dblspace & amount of time & _depends on how many different passwords, the & _ passwords, and your computers specification. & dblspace & _ just be patient! make me a coffee! & authors & versionconst msgpwordfound1 as string = you had a worksheet & _ structure or windows pass

8、word 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 & version const msgpwordfound2 as string = you had a wo

9、rksheet & _ 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 =

10、only structure / windows & _ 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 integer dim m as integer, n as integer, i1 as integer, i2 as integer dim i3 as integer, i4 as

11、integer, i5 as integer, i6 as integer dim pword1 as stringdim shtag as boolean, wintag as boolean application.screenupdating = falsewith activeworkbookwintag = .protectstructure or .protectwindows end withshtag = falsefor each w1 in worksheetsshtag = shtag or w1.protectcontents next w1if not shtag a

12、nd not wintag thenmsgbox msgnopwords1, vbinformation, header exit subend ifmsgbox msgtaketime, vbinformation, header if not wintag thenmsgbox msgnopwords2, vbinformation, header elseon error resume next do dummy do loopfor i = 65 to 66: for j = 65 to 66: for k = 65 to 66for l = 65 to 66: for m = 65

13、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 with 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

14、 = false and _.protectwindows = 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.nexts end ifend withnext: next

15、: next: next: next: next next: next: next: next: next: next loop until trueon error goto 0end ifif wintag and not shtag thenmsgbox msgonlyone, vbinformation, header exit subend ifon error resume nextfor each w1 in worksheets attempt clearance with pword1 w1.unprotect pword1next w1on error goto 0 sht

16、ag = falsefor each w1 in worksheetschecks for all clear shtag triggered to 1 if not. shtag = shtag or w1.protectcontentsnext w1if shtag thenfor each w1 in worksheets with w1if .protectcontents then on error resume next do dummy do loopfor i = 65 to 66: for j = 65 to 66: for k = 65 to 66for l = 65 to

17、 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 t

18、henpword1 = 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, headerleverage finding pword by trying on other sheets for each w2 in worksheetsw2.unprotect pword

19、1next w2exit do bypass all for.nexts end ifnext: next: next: next: next: next next: next: next: next: next: next loop until trueon error goto 0 end ifend with next w1 end ifmsgbox allclear & authors & version & repback, vbinformati on, headerend sub6关闭编辑窗口7工具-宏宏,选 allinternalpasswords,运行,确定两次,等 2 分钟,再确定.ok,没有密码了这个方法适用于 03 版的“”“”at the end, xiao bian gives you a passage. minand once said,

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论