This did not work. I am running excel 2007. I went into view code --> tools --> VBA project properties --> protection checked the box to "Lock project for viewing" and then typed in a password. Saved my file, reopened the tools menu and confirmed that the password was there and the toolbox is checked. Saved my file again and closed out. When I reopen the file the password did not work and I am able to access the code portion. I check under tools and see that the password is blank and the toolbox is unchecked. Any idea why this may be happening?