#1   Report Post  
Posted to microsoft.public.word.docmanagement
Bob_McK Bob_McK is offline
external usenet poster
 
Posts: 1
Default Word Macro Security

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?
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Jay Freedman[_2_] Jay Freedman[_2_] is offline
external usenet poster
 
Posts: 59
Default Word Macro Security

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.

--
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org


"Bob_McK" wrote:

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?

  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Bob_McK[_2_] Bob_McK[_2_] is offline
external usenet poster
 
Posts: 1
Default Word Macro Security

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

"Jay Freedman" wrote:

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.

--
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org


"Bob_McK" wrote:

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?

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 2003 telling me the Macro Security is set to high bax Microsoft Word Help 8 January 12th 07 07:38 AM
Macro Security ? GaijinSue Microsoft Word Help 2 March 7th 06 06:10 PM
Word macro security warning sue Microsoft Word Help 1 July 27th 05 01:07 AM
Word has stopped access to the Endnote 6.0 with macro security Tired and cranky student Microsoft Word Help 1 April 27th 05 01:05 AM
Word macro security warning. Ron Microsoft Word Help 0 April 5th 05 02:47 PM


All times are GMT +1. The time now is 02:33 AM.

Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"