UpdateFieldsAtPrint Property

Microsoft Word Visual Basic

expression.UpdateFieldsAtPrint

expression    Required. An expression that returns an Options object.

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 (Tools menu).

temp = Options.UpdateFieldsAtPrint