Try this....

回答: how to add password to MS access databaseakuan2010-10-28 05:17:32

You can prevent the code from viewing by doing this:

open vba, tool--DBBook Properties --- Protection

set password, make sure Lock project for viewing box is check.

If you want people to be able to read the code but modify it, you may need to write vba code to approche it.

請您先登陸,再發跟帖!