|
| View previous topic :: View next topic |
| Author |
Message |
David Wood Guest
|
Posted: Fri Dec 07, 2007 2:48 pm Post subject: Document Protection & Ask / Field Codes |
|
|
We have recently discovered the feature of allowing edit regions in a
protected document - brilliant!
We use "Ask" & "Field" codes heavily in our letters, we have allowed edit in
all Ask & field (bookmark) codes, hidden the codes then proctected the
document.
Normally, the users CTRL-A to select all, then F9 to activate "Asks".
This does not work on protected documents.
Is it meant to be used this way? Is it possible? If so how?
Thanks in advance for any assistance given. |
|
| Back to top |
|
 |
Google Sponsor

|
Posted: Fri Dec 07, 2007 2:48 pm Post subject: Advertisement |
|
|
|
|
| Back to top |
|
 |
Graham Mayor Guest
|
Posted: Fri Dec 07, 2007 3:40 pm Post subject: Re: Document Protection & Ask / Field Codes |
|
|
Protected fields are frequently unnecessary in a letterhead template,
however if you must have them, youy are going to have to lock and unlock
your code in order to run functions that are not allowed when the document
is locked. The basic concept is covered at
http://word.mvps.org/FAQs/MacrosVBA/SpellcheckProtectDoc.htm
Rather than cue CTRL+A then F9, you might find the update code at
http://www.gmayor.com/installing_macro.htm more useful. You can also run it
on exit from a form field.
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
David Wood wrote:
| Quote: | We have recently discovered the feature of allowing edit regions in a
protected document - brilliant!
We use "Ask" & "Field" codes heavily in our letters, we have allowed
edit in all Ask & field (bookmark) codes, hidden the codes then
proctected the document.
Normally, the users CTRL-A to select all, then F9 to activate "Asks".
This does not work on protected documents.
Is it meant to be used this way? Is it possible? If so how?
Thanks in advance for any assistance given. |
|
|
| Back to top |
|
 |
macropod Guest
|
Posted: Fri Dec 07, 2007 7:49 pm Post subject: Re: Document Protection & Ask / Field Codes |
|
|
Hi David,
Since you're using protection, the simplest solution might be to replace any ASK or FILLIN fields with Text or DropDown formfields
located where you want the user's input to appear, then protect the document for forms. If you set the formfield properties to use
the same bookmark names your ASK fields set, then any cross-references to them will still work, plus checking the 'calculate on
exit' formfield property will cause the cross-references to update without thee need for CTRL-A then F9.
Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------
"David Wood" <DavidWood@discussions.microsoft.com> wrote in message news:7BF7D88D-0E64-4001-9941-F88749C069EB@microsoft.com...
| Quote: | We have recently discovered the feature of allowing edit regions in a
protected document - brilliant!
We use "Ask" & "Field" codes heavily in our letters, we have allowed edit in
all Ask & field (bookmark) codes, hidden the codes then proctected the
document.
Normally, the users CTRL-A to select all, then F9 to activate "Asks".
This does not work on protected documents.
Is it meant to be used this way? Is it possible? If so how?
Thanks in advance for any assistance given.
|
|
|
| Back to top |
|
 |
David Wood Guest
|
Posted: Thu Dec 13, 2007 12:55 pm Post subject: Re: Document Protection & Ask / Field Codes |
|
|
Hi Macropod,
I can see that your logic is perfect here so I guess I must being missing
something obvious...
I have tested this with a single Ask;
ask NAME1 "name of officer dealing"
On the text form field options I have labelled the bookmark NAME1 and check
"fill in enabled" and "calculate on exit"
I then protect the document and reopen it. Press TAB key and get the prompt
"Name of Officer Dealing", enter some data and click OK..
The text entered does not reflect in the text form field no matter what I
try to do.
Am I missing something obvious here?
Thanks again
David
"macropod" wrote:
| Quote: | Hi David,
Since you're using protection, the simplest solution might be to replace any ASK or FILLIN fields with Text or DropDown formfields
located where you want the user's input to appear, then protect the document for forms. If you set the formfield properties to use
the same bookmark names your ASK fields set, then any cross-references to them will still work, plus checking the 'calculate on
exit' formfield property will cause the cross-references to update without thee need for CTRL-A then F9.
Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------
"David Wood" <DavidWood@discussions.microsoft.com> wrote in message news:7BF7D88D-0E64-4001-9941-F88749C069EB@microsoft.com...
We have recently discovered the feature of allowing edit regions in a
protected document - brilliant!
We use "Ask" & "Field" codes heavily in our letters, we have allowed edit in
all Ask & field (bookmark) codes, hidden the codes then proctected the
document.
Normally, the users CTRL-A to select all, then F9 to activate "Asks".
This does not work on protected documents.
Is it meant to be used this way? Is it possible? If so how?
Thanks in advance for any assistance given.
|
|
|
| Back to top |
|
 |
Graham Mayor Guest
|
Posted: Thu Dec 13, 2007 3:48 pm Post subject: Re: Document Protection & Ask / Field Codes |
|
|
The plan was that you removed the ASK field altogether and entered the text
directly in the TextForm field. Any cross references to that form field
would then be updated.
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
David Wood wrote:
| Quote: | Hi Macropod,
I can see that your logic is perfect here so I guess I must being
missing something obvious...
I have tested this with a single Ask;
ask NAME1 "name of officer dealing"
On the text form field options I have labelled the bookmark NAME1 and
check "fill in enabled" and "calculate on exit"
I then protect the document and reopen it. Press TAB key and get the
prompt "Name of Officer Dealing", enter some data and click OK..
The text entered does not reflect in the text form field no matter
what I try to do.
Am I missing something obvious here?
Thanks again
David
"macropod" wrote:
Hi David,
Since you're using protection, the simplest solution might be to
replace any ASK or FILLIN fields with Text or DropDown formfields
located where you want the user's input to appear, then protect the
document for forms. If you set the formfield properties to use the
same bookmark names your ASK fields set, then any cross-references
to them will still work, plus checking the 'calculate on exit'
formfield property will cause the cross-references to update without
thee need for CTRL-A then F9.
Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------
"David Wood" <DavidWood@discussions.microsoft.com> wrote in message
news:7BF7D88D-0E64-4001-9941-F88749C069EB@microsoft.com...
We have recently discovered the feature of allowing edit regions in
a protected document - brilliant!
We use "Ask" & "Field" codes heavily in our letters, we have
allowed edit in all Ask & field (bookmark) codes, hidden the codes
then proctected the document.
Normally, the users CTRL-A to select all, then F9 to activate
"Asks".
This does not work on protected documents.
Is it meant to be used this way? Is it possible? If so how?
Thanks in advance for any assistance given. |
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|