Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

wd00: How can I stop form fields losing text when protecting for forms 1

Status
Not open for further replies.

utech

Technical User
Oct 29, 2001
4
US
In Microsoft Word 2000 Is there a way to stop the form field data from being deleted when protect is turned on?
Can you use macro's to stop form field data from being deleted
 
Sub SaveForm()

ActiveDocument.Unprotect Password:=""
ActiveDocument.Protect Type:=wdAllowOnlyFormFields, NoReset:=True, Password:=""

End Sub

You may not need the first line or the last part with the passwords. Brainbench MVP for Microsoft Word
techsupportgirl@home.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top