欢迎来到天天文库
浏览记录
ID:17488318
大小:29.50 KB
页数:4页
时间:2018-09-02
《破解vba保护工作表的密码方法》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、破解VBA保护工作表的密码方法破解VBA保护工作表的密码方法OFFICE功能强大,但安全性实在让人胆心,从另一个方面来看应该是关注她的人太多了!注意:首先打开要解除的EXCEL文檔,同时按Alt+F11打开VBA编辑器,”视图”——“代码窗口”,然后将以下代码COPY进去,再按F5运行,等待破解完成OptionExplicitPublicSubAllInternalPasswords()ConstDBLSPACEAsString=vbNewLine&vbNewLineConstAUTHORSAsString=D
2、BLSPACE&vbNewLine&_"AdaptedfromBobMcCormickbasecodeby"&_"NormanHarkerandJEMcGimpsey"ConstHEADERAsString="AllInternalPasswordsUserMessage"ConstVERSIONAsString=DBLSPACE&"Version1.1.12003-Apr-04"ConstREPBACKAsString=DBLSPACE&"Pleasereportfailure"&_"tothemicroso
3、ft.public.excel.programmingnewsgroup."ConstALLCLEARAsString=DBLSPACE&"Theworkbookshould"&_"nowbefreeofallpasswordprotection,somakesureyou:"&_DBLSPACE&"SAVEITNOW!"&DBLSPACE&"andalso"&_DBLSPACE&"BACKUP!,BACKUP!!,BACKUP!!!"&_DBLSPACE&"Also,rememberthatthepasswo
4、rdwas"&_"putthereforareason.Don’tstuffupcrucialformulas"&_"ordata."&DBLSPACE&"Accessanduseofsomedata"&_"maybeanoffense.Ifindoubt,don’t."ConstMSGNOPWORDS1AsString="Therewerenopasswordson"&_"sheets,orworkbookstructureorwindows."&AUTHORS&VERSIONConstMSGNOPWORDS
5、2AsString="Therewasnoprotectionto"&_"workbookstructureorwindows."&DBLSPACE&_"Proceedingtounprotectsheets."&AUTHORS&VERSIONConstMSGTAKETIMEAsString="AfterpressingOKbuttonthis"&_"willtakesometime."&DBLSPACE&"Amountoftime"&_"dependsonhowmanydifferentpasswords,t
6、he"&_"passwords,andyourcomputer’sspecification."&DBLSPACE&_"Justbepatient!Makemeacoffee!"&AUTHORS&VERSIONConstMSGPWORDFOUND1AsString="YouhadaWorksheet"&_"StructureorWindowsPasswordset."&DBLSPACE&_"Thepasswordfoundwas:"&DBLSPACE&"$$"&DBLSPACE&_"Noteitdownforp
7、otentialfutureuseinotherworkbooksby"&_"thesamepersonwhosetthispassword."&DBLSPACE&_"Nowtocheckandclearotherpasswords."&AUTHORS&VERSIONConstMSGPWORDFOUND2AsString="YouhadaWorksheet"&_"passwordset."&DBLSPACE&"Thepasswordfoundwas:"&_DBLSPACE&"$$"&DBLSPACE&"Note
8、itdownforpotential"&_"futureuseinotherworkbooksbysamepersonwho"&4破解VBA保护工作表的密码方法_"setthispassword."&DBLSPACE&"Nowtocheckandclear"&_"otherpasswords."&AUTHORS&VERSIONConstMSGONLYONEAsString="Onlys
此文档下载收益归作者所有