I have created a template that uses forms with calculated
fields that are used to create a bill of material.
I want to post the bills on our network so that produciton
can print the bills for use on the shop floor.
The problem is that anyone can change the value in a field
and print it.
Is it possible to save a form is such a way that is is
read only?
Peter Hewett - 09 Mar 2004 05:13 GMT
Hi John
Try this simple little macro, it just unlinks all the fields and leaves you
with a normal document that you can't edit - but you can print it!
Public Sub UnlinkAllFFs()
With ActiveDocument
If .ProtectionType <> wdNoProtection Then .Unprotect
.Fields.Unlink
.Protect wdAllowOnlyFormFields
End With
End Sub
HTH + Cheers - Peter
"John" <anonymous@discussions.microsoft.com> wrote in news:931c01c4058c
$9d2da0b0$a301280a@phx.gbl:
> I have created a template that uses forms with calculated
> fields that are used to create a bill of material.
[quoted text clipped - 7 lines]
> Is it possible to save a form is such a way that is is
> read only?
Suzanne S. Barnhill - 09 Mar 2004 05:15 GMT
You can protect the document for forms. This protection is easily defeated,
but your production people might not know how to do that.
--
Suzanne S. Barnhill
Microsoft MVP (Word)

Signature
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
> I have created a template that uses forms with calculated
> fields that are used to create a bill of material.
[quoted text clipped - 7 lines]
> Is it possible to save a form is such a way that is is
> read only?