UpdateFieldsAtPrint Property Example

This example sets Word to update fields automatically before printing, and then it prints the active document.

Options.UpdateFieldsAtPrint = True
ActiveDocument.PrintOut

This example returns the current status of the Update fields option on the Print tab in the Options dialog box.

temp = Options.UpdateFieldsAtPrint