Protection Tab (Project Properties Dialog Box)

This page is specific to the Visual Basic for Applications (VBA) Language Reference for Office 2010.


Sets the protection for your project.

Lock Project

Provides a way to lock your project and prevent someone from changing it.

  • Lock project for viewing — Locks the project so that it cannot be viewed or edited.

Password to view project properties

Sets the passwords that allow someone to view the project properties.

  • Password — Sets the password for the project. If you do not check the Lock Project for Viewing option but set a password, you will be required to enter a password to open the Property window the next time you open the project.

  • Confirm password — Confirms the password typed in the Password box. The contents of the Confirm Password box and the Password box must match when you press OK or you get an error.