


版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、资料来源:来自本人网络整理!祝您工作顺利!2021年如何破解excel密码保护的教程 在excel中进展破解密码爱护主要是为了拿会重要的数据,这个做法其实都很常用,假如不会的伴侣可以学习一番,下面是我带来的关于如何破解excel密码爱护的教程,欢送阅读! 如何破解excel密码爱护的教程: 破解excel密码步骤1:新建一个excel文件book1,在工具栏空白位置,任意右击,选择visual basic项,弹出visual basic工具栏: 破解excel密码步骤2:在visual basic工具栏中,点击录制按钮,弹出录制新宏对话框,选择个人宏工作簿: 破解excel密码步骤3:选择个人
2、宏工作簿后按确定,弹出如下暂停按钮,点击停顿: 破解excel密码步骤4:在visual basic工具栏中,点击编辑按钮: 破解excel密码步骤5:点击编辑按钮后,弹出如下列图的编辑界面: 破解excel密码步骤6:找到vbaproject(personal.xls)-模块-模块1(也可能是模块n-其他数字) 破解excel密码步骤7:双击模块1-将右边代码内容清空 破解excel密码步骤8:复制工作爱护密码破解代码到右边框中,点保存,然后关闭book1 破解excel密码步骤9:运行需要解密的excel文件,在visual basic工具栏中,点击运行按钮 破解excel密码步骤10:点
3、击运行按钮后,弹出宏对话框, 破解excel密码步骤11:点击运行personal.xls!工作爱护密码破解这个宏 破解excel密码步骤12:运行personal.xls!工作爱护密码破解这个宏后, 破解excel密码步骤13:如下列图示意就可以 解除工作表的密码爱护了 (这个图,假如工作表中有多组不同密码, 破解excel密码步骤14:每解开一组,就会提示一次,也就说可能会出现几次) 工作表爱护密码破解(代码) =请复制以下内容= public sub 工作表爱护密码破解() const dblspace as string = vbnewline vbnewline const auth
4、ors as string = dblspace vbnewline _ :mccormick je mcgimpsey const header as string = 工作表爱护密码破解 const version as string = dblspace 版本 version 1.1.1 const repback as string = dblspace const zhengli as string = dblspace hfhzi3戊冥 整理 const allclear as string = dblspace 该工作簿中的工作表密码爱护已全部解除! dblspace 请记得另保
5、存 _ dblspace 留意:不要用在不当地方,要敬重别人的劳动成果! const msgnopwords1 as string = 该文件工作表中没有加密 const msgnopwords2 as string = 该文件工作表中没有加密2 const msgtaketime as string = 解密需花费肯定时间,请耐烦等候! dblspace 按确定开头破解! const msgpwordfound1 as string = 密码重新组合为: dblspace $ dblspace _ 假如该文件工作表有不同密码,将搜寻下一组密码并修改去除 const msgpwordfound
6、2 as string = 密码重新组合为: dblspace $ dblspace _ 假如该文件工作表有不同密码,将搜寻下一组密码并解除 const msgonlyone as string = 确保为唯一的? 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, i
7、5 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 = shtag or w1.protectcontents next w1 if not shtag and
8、not wintag then msgbox msgnopwords1, vbinformation, header exit sub end if msgbox msgtaketime, vbinformation, header if not wintag then 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 to 66: for i1 = 65 to 66 for i2 = 65 to
9、 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 _ .protectwindows = false then pword1 = chr(
10、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: next: next: next: next loop until tr
11、ue 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 worksheets checks for all clear shtag
12、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 66: for i1 = 65 to 66 for i2 = 65 to
13、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) chr(l) _ chr(m) chr(i1) chr(i2) chr(i3)
14、 _ 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 l
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 河北机电职业技术学院《数学文化选讲》2023-2024学年第二学期期末试卷
- 2025年江苏省建陵高级中学高三2月教学质量检测试题生物试题试卷含解析
- 中国人民大学《高级网站开发技术》2023-2024学年第二学期期末试卷
- 贵阳康养职业大学《城市给水排水管网工程及设计》2023-2024学年第一学期期末试卷
- 江苏省扬州市宝应县2024-2025学年初三下学期第二次质量检测试题化学试题试卷含解析
- 商丘职业技术学院《绿色能源利用技术》2023-2024学年第一学期期末试卷
- 重庆工贸职业技术学院《燃烧设备与能源转化》2023-2024学年第二学期期末试卷
- 大连艺术学院《文献检索与科技论文写作》2023-2024学年第一学期期末试卷
- 重庆工商职业学院《摄影摄像》2023-2024学年第一学期期末试卷
- 合肥共达职业技术学院《美国文学概论及作品选读》2023-2024学年第二学期期末试卷
- 医疗机构自杀风险评估与预防措施
- 全国自考《银行会计学》2024年7月《银行会计学》自学考试试题及答案
- 拔高卷-2021-2022学年七年级语文下学期期中考前必刷卷(福建专用)(考试版)
- CNAS-SC175:2024 基于ISO IEC 2000-1的服务管理体系认证机构认可方案
- 《汶川县全域旅游发展总体规划(2021-2030)》
- 《心肺复苏及电除颤》课件
- 世界精神卫生日班会课件
- 临床药物治疗学知到智慧树章节测试课后答案2024年秋湖南中医药大学
- 2024年新能源充电站租赁合同
- 9.2溶解度(第1课时饱和溶液不饱和溶液)+教学设计-2024-2025学年九年级化学人教版(2024)下册
- 中建塔吊基础设计与施工专项方案
评论
0/150
提交评论