How do i stop design mode when opening a document

G

Guest

Hi, how do you get your macros to run with out having to choose enable or
disable on the warning. I have a document with text fields and it will be
used by others, i don't want them to have the abilty to turn it off and make
changes.

Thanks
 
S

Stefan Blom

You can reduce the macro security level -- but that is not a good
idea. Instead, put the code in a template and place that template in
each user's templates folder. Assuming that "Trust all installed
add-ins and templates" is checked in the Macro Security dialog box
this would prevent the alert to users.

You may want to take a look at the following article:

I'm designing a form that needs to have “fill-in-the-blanks” lines.
What is the best way to create them?
http://word.mvps.org/faqs/tblsfldsfms/LinesInForms.htm

See especially the links to articles (by Dian Chapman) about protected
forms and VBA.

For macro distribution, see also:

Distributing macros to other users
http://word.mvps.org/faqs/macrosvba/DistributeMacros.htm

--
Stefan Blom
Microsoft Word MVP


in message
news:[email protected]...
 

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