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.)