Document.ResetFormFields method (Word)
Clears all form fields in a document, preparing the form to be filled in again.
Syntax
expression. ResetFormFields
expression Required. A variable that represents a Document object.
Remarks
Use the ResetFormFields method to clear fields when a document's fields are not locked. To clear fields when a document's fields are locked, use the Protect method.
Example
This example clears the fields in the active document. This example assumes that the active document contains form fields.
Sub ClearFormFields()
ActiveDocument.ResetFormFields
End Sub
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.