View Single Post
  #5   Report Post  
margaritta1601 margaritta1601 is offline
Junior Member
 
Posts: 2
Smile

Hi /øystein,

Please note that I an not an expert on the subject... Just a lucky bird!

Here is what I did for my PROTECTED form to clear the fields every time I opened it: (Please note data entered will not be saved!) and I am assuming that you are using Word 2003 on XP...

Sub AutoOpen ()
ActiveDocument.Unprotect
ActiveDocument.ResetFormFields
ActiveDocument.Protect wdAllowOnlyFormFields

Good Luck!

Marg.

Quote:
Originally Posted by View Post
I have tried using the "ResetFormFields", but it cannot be used when
the document is locked.

I have also found this, but cannot figure out how to use the "Protect"
method:

http://msdn.microsoft.com/library/de...FormFields.asp

/øystein