Protecting VBA Code

D

Daniel P.

Hello

Is there a way to password protect the VBA code behind a database to ensure that users don't modify it

Thanks in advance for your help

Daniel
 
N

Nikos Yannacopoulos

Daniel,

Even better! Convert your database to .mde (Tools > Database Utilities >
Make MDE file) and distribute the MDE. Your users will no longer be able to
view or modify your code, nor view forms, reports or macros in design mode
(and, consequently, make changes). What's more, the .mde file size will be
somewhat smaller than the original .mdb.
Just make sure you secure a copy of the original .mdb, so you can make
changes if required - which is impossible in the .mde.

HTH,
Nikos

Daniel P. said:
Hello,

Is there a way to password protect the VBA code behind a database to
ensure that users don't modify it?
 
J

Joe Fallon

For newer versions of Access - 2000 and up I think:
In VBA,
Tools,
Properties,
Protection
--
Joe Fallon
Access MVP



Daniel P. said:
Hello,

Is there a way to password protect the VBA code behind a database to
ensure that users don't modify it?
 

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