Home |
Search |
Today's Posts |
#1
|
|||
|
|||
How do I add a €śrequired filed€ť in a protected document?
I have created a protected document in word 2000. Is there a way to have a
required filed? Within my document so users will have to fill in the filed. |
#2
|
|||
|
|||
Vicid wrote:
I have created a protected document in word 2000. Is there a way to have a required filed? Within my document so users will have to fill in the filed. See http://word.mvps.org/FAQs/TblsFldsFm...ateFFields.htm for the macros you need. In place of the line If Len(.Result) 0 And Left$(.Result, 3) "KLM" Then you need to use If Len(Trim(.Result)) = 0 Then to check for a field that's empty or contains only spaces. Note that this method works only if the user tabs or clicks into the field and then tries to exit from it. It never gets a chance to run if the user never goes to that field. To ensure that the field is filled in, either make it the first field in the document (so the cursor starts there when the document opens) or add macros to intercept the print and save functions and call the validation macro before performing the actual print or save -- see http://word.mvps.org/FAQs/MacrosVBA/...tSavePrint.htm. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org |
#3
|
|||
|
|||
See also http://www.gmayor.com/formfieldmacros.htm
-- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Vicid wrote: I have created a protected document in word 2000. Is there a way to have a required filed? Within my document so users will have to fill in the filed. |
#4
|
|||
|
|||
G'day "Vicid" ,
Yes, but it requires VBA. Use the FAQs and other resources at word.mvps.org to get up to speed, or I can provide this as a commercial service if you require. Steve Hudson - Word Heretic steve from wordheretic.com (Email replies require payment) Without prejudice Vicid reckoned: I have created a protected document in word 2000. Is there a way to have a required filed? Within my document so users will have to fill in the filed. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Opening a document in a protected form | Microsoft Word Help | |||
Unlock portion of document | Microsoft Word Help | |||
How to use ink on a protected Word 2003 document (forms - signatu. | Microsoft Word Help | |||
How do I make a document protected so that it can not be changed? | Microsoft Word Help | |||
Editable Organisation Charts in a protected document | Microsoft Word Help |