View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
[email protected] kthprog@gmail.com is offline
external usenet poster
 
Posts: 7
Default Password Cracker for Excel Worksheets/ Workbooks

For Each wb In Worksheets
wb.Unprotect a & b & c & d & e & f & g & h & i & j & k & l
wsFound = wsFound Or wb.ProtectContents
Next

add this to worksheets loop to unprotect all