How do I set a password to VBA access ONLY with code?

M

MarcoV

Hi!
I'm working on an Access application that, at a certain pont needs to
generate a derived DB from itself.
I solved most of the issues, apart from setting a password to prevent users
from viewing the VBA code (in forms and modules) in the derived DB.
Setting a password in the Protection tab of the "<Project Name>
Properties..." option in the VBA Tools menu would suit my needs.
Is there any way to set them only through VBA code ?
Thanks in advance to all who may help me ! ! !
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top