版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、青,取之于蓝而青于蓝;冰,水为之而寒于水【excel2007怎样将保护密码破解】 excel保护密码破解相关热词搜索:excel2021怎样将保护密码破解 wps破解excel密码保护 2021版excel密码破解 excel2021里一些重要文件,我们都会选择加密,这时忘记密码了怎么办。下面让我为你带来2021excel表格密码破解的方法,各位记性不怎好的朋友福利来了。 excel2021表格密码破解方法 1、打开您需要破解保护密码的excel文件; 2、依次点击菜单栏上的工具-宏-录制新宏,输入宏名字如:aa; 3、停止录制(这样得到一个空宏); 4、依次点击菜单栏上的工具-宏-宏,选aa
2、,点编辑按钮; 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 nor
3、man harker and je mcgimpsey 27-dec-2021 (version 1.1) modified 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 f
4、rom 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 2021-apr-04 const repback as string = dblspace please report failure _ to the gramming newsgroup. cons
5、t 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. dont stuff up crucial formulas _ or
6、 data. dblspace access and use of some data _ may be an offense. 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. dblspac
7、e _ proceeding to unprotect sheets. authors version const 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! a
8、uthors version const msgpwordfound1 as string = you had a 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 oth
9、er passwords. authors version const 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 passwor
10、ds. authors version const msgonlyone as string = only structure / 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 intege
11、r, i2 as integer dim i3 as integer, i4 as integer, i5 as 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 = s
12、htag or w1.protectcontents next w1 if not shtag and not wintag 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 =
13、65 to 66: for k = 65 to 66 for l = 65 to 66: for m = 65 to 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(i
14、5) chr(i6) chr(n) if .protectstructure = false and _ .protectwindows = 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
15、if end with next: next: next: next: next: next next: next: 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 pwo
16、rd1 next w1 on error goto 0 shtag = false for each w1 in 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 = 6
17、5 to 66: for k = 65 to 66 for l = 65 to 66: for m = 65 to 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
18、not .protectcontents 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(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
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 医疗临床辅助服务员操作规范测试考核试卷含答案
- 金属屋面工标准化考核试卷含答案
- 临床试剂工安全知识竞赛强化考核试卷含答案
- 纺丝原液制造工岗前基础实战考核试卷含答案
- 炼钢工班组评比竞赛考核试卷含答案
- 纸盒制作工创新思维知识考核试卷含答案
- 饼干制作工规章考核试卷含答案
- 网版印刷员安全专项测试考核试卷含答案
- 餐厨垃圾收集工竞争分析考核试卷含答案
- 纯碱石灰工安全宣传水平考核试卷含答案
- 2026年重症医学科护理工作计划
- T/GDCA 034-2023化妆品用原料 红茶发酵产物
- 2026年全国行政执法人员执法资格考试必考题库与答案
- 2026年河北会考试题及答案
- 2025年中国干粉砂浆市场调查研究报告
- 重庆数字资源集团招聘考试真题2025
- 城镇土地使用税房产税纳税申报表
- 动火施工方案和应急方案(3篇)
- T∕CPCPA 0017-2026 托育机构婴幼儿回应性照护服务规范
- 心血管内科心室颤动急救措施
- 老年法律援助维权服务规范
评论
0/150
提交评论