【excel2021怎样将保护密码破解】 excel保护密码破解_第1页
【excel2021怎样将保护密码破解】 excel保护密码破解_第2页
【excel2021怎样将保护密码破解】 excel保护密码破解_第3页
【excel2021怎样将保护密码破解】 excel保护密码破解_第4页
已阅读5页,还剩3页未读 继续免费阅读

下载本文档

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

文档简介

1、本文格式为word版,下载可任意编辑【excel2021怎样将保护密码破解】 excel保护密码破解 excel2021里一些重要文件,我们都会选择加密,这时遗忘密码了怎么办。下面让我为你带来2021excel表格密码破解的方法,各位记性不怎好的伴侣福利来了。 excel2021表格密码破解方法 1、打开您需要破解爱护密码的excel文件; 2、依次点击菜单栏上的工具-宏-录制新宏,输入宏名字如:aa; 3、停止录制(这样得到一个空宏); 4、依次点击菜单栏上的工具-宏-宏,选aa,点编辑按钮; 5、删除窗口中的全部字符(只有几个),替换为下面的内容; 从横线下开头复制 - option ex

2、plicit 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-2021 (version 1.1) mod

3、ified 2021-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 vbnewline const authors as string = dblspace vbnewline _ adapted from bob mccormick base code by _ norman harker and je mcg

4、impsey const header as string = allinternalpasswords user message const version as string = dblspace version 1.1.1 2021-apr-04 const repback as string = dblspace please report failure _ to the gramming newsgroup. const allclear as string = dblspace the workbook should _ now

5、 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. dont stuff up crucial formulas _ or data. dblspace access and use of some data _ may be an o

6、ffense. if in doubt, dont. const msgnopwords1 as string = there were 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 version const

7、 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 computers specification. dblspace _ just be patient! make me a coffee! authors version const msgpwordfound1 as string = you had a

8、 worksheet _ structure or windows 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 version const msgpwordfound2 as str

9、ing = 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 version const msgonlyone as string = only str

10、ucture / windows _ protected with the password that was just found. _ allclear authors version repback dim w1 as worksheet, w2 as worksheet dim 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 integer, i5 as

11、integer, i6 as integer dim pword1 as string dim shtag as boolean, wintag as boolean application.screenupdating = false with activeworkbook wintag = .protectstructure or .protectwindows end with shtag = false for each w1 in worksheets shtag = shtag or w1.protectcontents next w1 if not shtag and not w

12、intag then msgbox msgnopwords1, vbinformation, header exit sub end if msgbox msgtaketime, vbinformation, header if not wintag then msgbox msgnopwords2, vbinformation, header else on error resume next do dummy do loop for i = 65 to 66: for j = 65 to 66: for k = 65 to 66 for l = 65 to 66: for m = 65 t

13、o 66: for i1 = 65 to 66 for i2 = 65 to 66: for i3 = 65 to 66: for i4 = 65 to 66 for 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 = false and _ .pro

14、tectwindows = false then pword1 = 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, header exit do bypass all for.nexts end if end with next: next: next: next: next: next next: next

15、: next: next: next: next loop until true on error goto 0 end if if wintag and not shtag then msgbox msgonlyone, vbinformation, header exit sub end if on error resume next for each w1 in worksheets attempt clearance with pword1 w1.unprotect pword1 next w1 on error goto 0 shtag = false for each w1 in

16、worksheets checks for all clear shtag triggered to 1 if not. shtag = shtag or w1.protectcontents next w1 if shtag then for each w1 in worksheets with w1 if .protectcontents then on error resume next do dummy do loop for i = 65 to 66: for j = 65 to 66: for k = 65 to 66 for l = 65 to 66: for m = 65 to

17、 66: for i1 = 65 to 66 for i2 = 65 to 66: for i3 = 65 to 66: for i4 = 65 to 66 for 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 then pword1 = chr(i) chr(j) chr(k) c

18、hr(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 sheets for each w2 in worksheets w2.unprotect pword1 next w2 exit do bypass all for.nexts end if next: next: next: next: next: next next: next: next: next: next: next loop until true on error goto 0 end if end with next w1 end if msgbox allclear authors version repback, vbinformation, header end sub - 复制到横线以上 6

温馨提示

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

评论

0/150

提交评论