Set project properties
To set project properties
From the Tools menu, choose <projectname> Properties.
Use the General tab in the <projectname> Properties dialog box to specify the following:
Use the Protection tab in the <projectname> Properties dialog box to lock the project from viewing by others and specify a password for access to project properties. After you set protection, you must save and close your project for the protection to take effect. (Note that your project must contain VBA code and/or a custom form in order to retain this password.)
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.