Forgot my protected password - need help to unlock an important sheet!

%3CLINGO-SUB%20id%3D%22lingo-sub-1537003%22%20slang%3D%22en-US%22%3EForgot%20my%20protected%20password%20-%20need%20help%20to%20unlock%20an%20important%20sheet!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1537003%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Excel%20community!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20need%20some%20help%20asap.%20I%20have%20a%20very%20important%20sheet%20for%20work%20that%20I%20had%20put%20a%20protected%20password%20on%20over%20a%20year%20ago%20and%20I%20forgot%20it%20because%20I%20have%20been%20furloughed%20from%20work%20and%20not%20on%20the%20sheet%20in%20about%204%20months!!%20I%20have%20tried%20the%20following%20code%20that%20I%20found%20online%20however%20my%20mac%20just%20gives%20me%20a%20spinning%20wheel%20and%20doesn't%20seem%20to%20be%20executing%20like%20the%20way%20I%20have%20seen%20it%20online.%20Someone%20please%20help%20I%20really%20need%20to%20get%20back%20into%20this%20sheet%20otherwise%20it%20is%20going%20to%20take%20me%204%2B%20hours%20to%20re-make%20the%20sheet!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3E%3CSPAN%20class%3D%22typ%22%3ESub%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EPasswordBreaker%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E()%3C%2FSPAN%3E%0A%3CSPAN%20class%3D%22typ%22%3EDim%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20i%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22typ%22%3EAs%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EInteger%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20j%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22typ%22%3EAs%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EInteger%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20k%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22typ%22%3EAs%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EInteger%3C%2FSPAN%3E%0A%3CSPAN%20class%3D%22typ%22%3EDim%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20l%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22typ%22%3EAs%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EInteger%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20m%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22typ%22%3EAs%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EInteger%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20n%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22typ%22%3EAs%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EInteger%3C%2FSPAN%3E%0A%3CSPAN%20class%3D%22typ%22%3EDim%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20i1%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22typ%22%3EAs%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EInteger%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20i2%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22typ%22%3EAs%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EInteger%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20i3%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22typ%22%3EAs%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EInteger%3C%2FSPAN%3E%0A%3CSPAN%20class%3D%22typ%22%3EDim%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20i4%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22typ%22%3EAs%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EInteger%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20i5%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22typ%22%3EAs%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EInteger%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20i6%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22typ%22%3EAs%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EInteger%3C%2FSPAN%3E%0A%3CSPAN%20class%3D%22typ%22%3EOn%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EError%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EResume%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3ENext%3C%2FSPAN%3E%0A%3CSPAN%20class%3D%22typ%22%3EFor%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20i%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22lit%22%3E65%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3ETo%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22lit%22%3E66%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3A%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EFor%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20j%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22lit%22%3E65%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3ETo%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22lit%22%3E66%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3A%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EFor%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20k%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22lit%22%3E65%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3ETo%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22lit%22%3E66%3C%2FSPAN%3E%0A%3CSPAN%20class%3D%22typ%22%3EFor%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20l%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22lit%22%3E65%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3ETo%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22lit%22%3E66%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3A%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EFor%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20m%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22lit%22%3E65%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3ETo%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22lit%22%3E66%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3A%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EFor%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20i1%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22lit%22%3E65%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3ETo%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22lit%22%3E66%3C%2FSPAN%3E%0A%3CSPAN%20class%3D%22typ%22%3EFor%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20i2%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22lit%22%3E65%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3ETo%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22lit%22%3E66%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3A%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EFor%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20i3%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22lit%22%3E65%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3ETo%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22lit%22%3E66%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3A%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EFor%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20i4%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22lit%22%3E65%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3ETo%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22lit%22%3E66%3C%2FSPAN%3E%0A%3CSPAN%20class%3D%22typ%22%3EFor%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20i5%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22lit%22%3E65%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3ETo%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22lit%22%3E66%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3A%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EFor%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20i6%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22lit%22%3E65%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3ETo%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22lit%22%3E66%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3A%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EFor%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20n%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22lit%22%3E32%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3ETo%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22lit%22%3E126%3C%2FSPAN%3E%0A%3CSPAN%20class%3D%22typ%22%3EActiveSheet%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E.%3C%2FSPAN%3E%3CSPAN%20class%3D%22typ%22%3EUnprotect%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EChr%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3Ei%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E)%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22pun%22%3E%26amp%3B%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EChr%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3Ej%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E)%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22pun%22%3E%26amp%3B%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EChr%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3Ek%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E)%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22pun%22%3E%26amp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20_%3C%2FSPAN%3E%3CSPAN%20class%3D%22typ%22%3EChr%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3El%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E)%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22pun%22%3E%26amp%3B%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EChr%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3Em%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E)%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22pun%22%3E%26amp%3B%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EChr%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3Ei1%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E)%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22pun%22%3E%26amp%3B%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EChr%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3Ei2%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E)%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22pun%22%3E%26amp%3B%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EChr%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3Ei3%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E)%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22pun%22%3E%26amp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20_%3C%2FSPAN%3E%3CSPAN%20class%3D%22typ%22%3EChr%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3Ei4%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E)%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22pun%22%3E%26amp%3B%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EChr%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3Ei5%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E)%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22pun%22%3E%26amp%3B%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EChr%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3Ei6%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E)%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22pun%22%3E%26amp%3B%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EChr%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3En%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E)%3C%2FSPAN%3E%0A%3CSPAN%20class%3D%22typ%22%3EIf%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EActiveSheet%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E.%3C%2FSPAN%3E%3CSPAN%20class%3D%22typ%22%3EProtectContents%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22pun%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22kwd%22%3EFalse%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EThen%3C%2FSPAN%3E%0A%3CSPAN%20class%3D%22typ%22%3EMsgBox%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22str%22%3E%22One%20usable%20password%20is%20%22%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22pun%22%3E%26amp%3B%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EChr%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3Ei%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E)%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22pun%22%3E%26amp%3B%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EChr%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3Ej%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E)%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22pun%22%3E%26amp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20_%3C%2FSPAN%3E%3CSPAN%20class%3D%22typ%22%3EChr%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3Ek%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E)%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22pun%22%3E%26amp%3B%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EChr%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3El%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E)%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22pun%22%3E%26amp%3B%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EChr%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3Em%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E)%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22pun%22%3E%26amp%3B%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EChr%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3Ei1%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E)%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22pun%22%3E%26amp%3B%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EChr%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3Ei2%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E)%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22pun%22%3E%26amp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20_%3C%2FSPAN%3E%3CSPAN%20class%3D%22typ%22%3EChr%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3Ei3%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E)%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22pun%22%3E%26amp%3B%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EChr%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3Ei4%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E)%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22pun%22%3E%26amp%3B%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EChr%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3Ei5%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E)%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22pun%22%3E%26amp%3B%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EChr%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3Ei6%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E)%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22pun%22%3E%26amp%3B%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EChr%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3En%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E)%3C%2FSPAN%3E%0A%3CSPAN%20class%3D%22typ%22%3EExit%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3ESub%3C%2FSPAN%3E%0A%3CSPAN%20class%3D%22typ%22%3EEnd%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EIf%3C%2FSPAN%3E%0A%3CSPAN%20class%3D%22typ%22%3ENext%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3A%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3ENext%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3A%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3ENext%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3A%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3ENext%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3A%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3ENext%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3A%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3ENext%3C%2FSPAN%3E%0A%3CSPAN%20class%3D%22typ%22%3ENext%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3A%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3ENext%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3A%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3ENext%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3A%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3ENext%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3A%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3ENext%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%3A%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3ENext%3C%2FSPAN%3E%0A%3CSPAN%20class%3D%22typ%22%3EEnd%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3ESub%3C%2FSPAN%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1537003%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExcel%20on%20Mac%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMacros%20and%20VBA%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Occasional Visitor

Hi Excel community!

 

I need some help asap. I have a very important sheet for work that I had put a protected password on over a year ago and I forgot it because I have been furloughed from work and not on the sheet in about 4 months!! I have tried the following code that I found online however my mac just gives me a spinning wheel and doesn't seem to be executing like the way I have seen it online. Someone please help I really need to get back into this sheet otherwise it is going to take me 4+ hours to re-make the sheet!

 

Sub PasswordBreaker()
Dim i As Integer, j As Integer, k As Integer
Dim l As Integer, m As Integer, n As Integer
Dim i1 As Integer, i2 As Integer, i3 As Integer
Dim i4 As Integer, i5 As Integer, i6 As Integer
On Error Resume Next
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 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
ActiveSheet.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 ActiveSheet.ProtectContents = False Then
MsgBox "One usable password is " & Chr(i) & Chr(j) & _Chr(k) & Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & _Chr(i3) & Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
Exit Sub
End If
Next: Next: Next: Next: Next: Next
Next: Next: Next: Next: Next: Next
End Sub
0 Replies