Protect form without resetting fields

J

Jim

HI,

I used to have a little macro that would protect a doc
(form) without resetting the fields.

I remember it being pretty simple. Does anyone know the
VBA code for this?

Thanks....Jim
 
J

Jay Freedman

Hi, Jim,

Sub ReprotectDoc()
ActiveDocument.Protect Type:=wdAllowOnlyFormFields, NoReset:=True
End Sub
 
Top