Using fields in a locked template

D

Don

I am creating a template that I want end users to type into a field of a
locked template. I use Field, Macrobutton, AcceptAllChangesInDoc; and type
my instructions for the user to follow. I also have a form field that I want
to limit to 2000 characters. I know that in order for the form field to be
used correctly, I must lock the template. However, upon locking the template
the field Macrobutton no longer lets the end user click in the form to enter
thier information.
Is there anything that can be done about this or do I need to leave the
template unlocked and make a not next to the form field to notify the end
user to limit their characters?
Thank you, Don
 
G

Gordon Bentley-Mix

Don,

If you place your MacroButton in an unprotected section it should still be
available to the user. Just insert Continuous Section Breaks before and
after the MacroButton and leave this section unprotected.
--
Cheers!

Gordon Bentley-Mix
Word MVP

Uninvited email contact will be marked as SPAM and ignored. Please post all
follow-ups to the newsgroup.
 
D

Don

I had not thought about the section break. However, I am not aware that you
can protect a certain section of a template. How is that done?
Thank you Gordon
 
G

Gordon Bentley-Mix

Don,

Assuming that you are using Forms protection (and this seems logical given
your stated approach) and that you are using Word 2003 (the process may vary
slightly for other versions of Word), perform the following:

(Sorry if I'm telling you how to suck eggs, but I like to be thorough in my
explanations.)
1. Click Tools | Protect Document... to display the "Protect Document"
Task Pain.
2. Under "Editing restrictions" when you select "Filling in forms" you
will see a link that says "Select sections...". Note that this link is only
displayed if there are two or more sections in the document.
3. Click on this link to display the "Section Protection" dialog box,
which will be populated with a list of the sections in the document.
4. Simply clear the checkbox next to the section containing your
MacroButton.
5. Continue protecting the document as normal.

That's it. You're away laughing...
--
Cheers!

Gordon Bentley-Mix
Word MVP

Uninvited email contact will be marked as SPAM and ignored. Please post all
follow-ups to the newsgroup.
 
G

Graham Mayor

Personally I would not use the macrobutton field in a form. I would either
add the macro to a toolbar button (including if necessary the code to unlock
then relock the form) or I would run it on (e.g.) entry to (or exit from) a
form field.

With any macro solution (including your macrobutton) you will still have the
problem of persuading remote users to run your code.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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