"John Curio" wrote...
Why does this code give me the wrong password?
The msgbox says "105" instead of "124".
And the crazy thing is, that Excel unprotect the password with 105.
Can somebody explain me that phenomena?
....
Excel's internal passwords are VERY WEAK. This is an excellent
example.
See the following for more details.
http://www.mcgimpsey.com/excel/removepwords.html