I use a similar sub routine and do not put any brackets arround the password, so if my password were 111 the code would be
ActiveSheet.Unprotect 111
this definately works for me
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.