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
 

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