PrintFieldCodes Property

Applies To

Options object.

Description

True if Word prints field codes instead of field results. Read/write Boolean.

See Also

ShowCodes property, ShowFieldCodes property, UpdateFieldsAtPrint property.

Example

This example sets Word to print field codes, and then it prints the active document.

Options.PrintFieldCodes = True
ActiveDocument.PrintOut
This example returns the current status of the Field codes option on the Print tab in the Options dialog box.

temp = Options.PrintFieldCodes