下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、竭诚为您提供优质文档 /双击可除第1页共 8 页excel 表格怎么解除保护篇一:excel 表格密码保护的解除方法excel 表格密码保护的解除方法表格受密码保护时,我们修改数据excel 弹出“您试图更改的单元格或图表受保护,因而是只读的。若要修改受保护单元格或图表,请先使用撤消工作表保护 命令(在审阅选项卡的更改组中)来取消保护。可能会提示您输 入密码。这时候我们可以用Vba 宏代码破解法来破解表格保护密码:第一步:打开该文件,先解除默认的“宏禁用”状 态,方法是点击工具栏下的“选项”状态按钮,打开“ microsoftoffice安全选项”窗口,选择其中的“启用此内容”,“确定”。再切
2、换到“视图”选项卡,点击“宏”-“录制宏”,出现“录制新宏”窗口,在“宏名”定义一个名称为:passwordbreaker,点击“确定” 退出;第二步:再点击“宏”“查看宏”,选择“宏名” 下的“passwordbreaker ”并点击“编辑”,打开“ microsoftVisualbasic”编辑器,用如下内容替换右侧窗口中的所有代码:竭诚为您提供优质文档 /双击可除第2页共 8 页subpasswordbreaker()第3页共 8 页dimiasinteger,jasinteger,kasintegerdimlasinteger,masinteger,nasintegerdimi1asi
3、nteger,i2asinteger,i3asintegerdimi4asinteger,i5asinteger,i6asinteger onerrorResumenextFori=65to66:Forj=65to66:Fork=65to66Forl=65to66:Form=65to66:Fori1=65to66Fori2=65to66:Fori3=65to66:Fori4=65to66Fori5=65to66:Fori6=65to66:Forn=32to126activesheet.unprotectchr(i)breaksworksheetandworkbookstructurepassw
4、ords.bobmccormickprobablyoriginatorofbasecodealgorithmmodifiedforcoverageofworkbookstructure/windowspasswordsandformultiplepasswordsnormanharkerandjemcgimpsey27-dec-20 xx(Version1.1)modified20 xx-apr-04byjem:allmsgstoconstants,andeliminateoneexitsub(Version1.1.1)Revealshashedpasswordsnotoriginalpass
5、wordsconstdblspaceasstring=vbnewlinet.第4页共 8 页constmsgnopwoRds1asstring=therewerenopasswordsonsspecification.dummydoloopFori=65to66:Forj=65to66:Fork=65to66Forl=65to66:Form=65to66:Fori1=65to66Fori2=65to66:Fori3=65to66:Fori4=65to66Fori5=65to66:Fori6=65to66:Forn=32to126withac tiveworkbook.unprotectchr(
6、i)bypassallfornextsendifendwithnext:next:next:next:next:nextnext:next:next:next:next:nextloopuntiltrueonerrorgoto0endififwintagandnotshtagthenmsgboxmsgonlyone,vbinformation,headeRexitsubendifonerrorResumenextForeachw1inworksheetsattemptclearancewithpword1w1.unprotectpword1nextw1onerrorgoto0shtag=Fal
7、seForeachw1inworksheetschecksforallclearshtagtriggeredto1ifnot.shtag=tectcontentsnextwl第5页共 8 页ifshtagthenFtectcontentsthenonerrorResumenextdodummydolooPFori=65to66:Forj=65to66:Fork=65to66Forl=65to66:Form=65to66:Fori1=65to66Fori2=65to66:Fori3=65to66:Fori4=65to66.unprotectchr(i)leveragefindingpwordbytryingonothersheetsForeachw2inworksheetsw2.unprotectpword1ne xtw2exitdobypassallfornextsendifnext:next:next:next:next:nextnext:next:next:next:next:nex
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 医疗售后合同范本
- 保险业务经理面试问题及答案参考
- 协助入户合同范本
- 商业接待合同范本
- 网络布线合同协议
- 网签意向合同范本
- 医院被褥合同范本
- 同城配送合同范本
- 气体年合同范本
- 员工关系合同范本
- 九下劳动教育教案
- 智能装备制造业售后服务体系建设
- 馒头营销方案
- 会议服务培训课件
- 学前教育研究方法-学前教育研究设计课件
- 中国马克思主义与当代课后习题答案
- 专题10 小说阅读(考点精讲)-【中职专用】中职高考语文一轮复习讲练测(四川适用)
- Python数据分析与应用-从数据获取到可视化(第2版)习题及答案
- 埃斯特维华义制药有限公司年产35吨4800、25吨4790高级中间体技改项目环境影响报告书
- 前列腺癌诊治新进展课件
- 魔力宝贝宠物卡片武器物品编码
评论
0/150
提交评论