Document.PrintFormsData Property

Word Developer Reference

True if Microsoft Word prints onto a preprinted form only the data entered in the corresponding online form. Read/write Boolean.

Syntax

expression.PrintFormsData

expression A variable that represents a Document object.

Example

This example sets Word to print only the data from an online form, and then it prints the active document.

Visual Basic for Applications
  ActiveDocument.PrintFormsData = True
ActiveDocument.PrintOut

This example returns the current status of the Print data only for forms check box in the Options for current document only area on the Print tab in the Options dialog box.

Visual Basic for Applications
  temp = ActiveDocument.PrintFormsData

See Also