This macro worked great for me as I want to be able to provide clients with the option of unprotecting a form should they need to make changes to contract terms. However, how do you prevent them from double clicking on the command button to see the underlying code, where the actual password is typed? Definitely don't want them to know the actual password. Thanks.