Word Macro Security

G

Guest

I am using Word 2003.
I have created a form template with Dropdown and Text fields. I have
protected parts of the form using Sections so that documents can be imbedded
in unsecured Text fields. I have written Macros to control field logic.
How can I protect the Macros so that when I distribute this form others can
not access the macros to change or delete them?
 
G

Guest

In the VBA editor, go to Tools > Project Properties and click the Protection
tab. Check the box for "Lock project for viewing" and supply a password.

It's a really good idea to keep an unlocked copy on your development
machine, just in case you forget the password.
 
G

Guest

Jay,

Thank you for the quick reply. I realize it was a trivial question, but I
had tried what you directed me to do, except I did not close and reopen the
the template so after executing the Tools > Project Properties, clicking on
"Lock project for viewing", supplying a password and then clicking OK I
expected the Macro to be protected just like when you protect the form
template. The macro is not protected until you close and reopen the form
template.

Thanks again for your help.
Bob McKenna
 

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