Password protected VBA code
Can somebody help me to write with code the password protection for the modules?I can do it by hand in the following way:
1. open any module in design view
2. choose Tools,ProjectNames Properties
3. Mark the Lock object for viewing check box and type and confrim the pasword in the other text boxes.
4. close and repoen the database.
I will be very grateful if somebody can provide me the code i can wirte instead of the above manual actions.