Options Property

Microsoft Word Visual Basic

Options Property

       

Returns an Options object that represents application settings in Microsoft Word.

expression.Options

expression   Required. An expression that returns one of the objects in the Applies To list.

Example

This example disables fast saves and then saves the active document.

Options.AllowFastSave = False
ActiveDocument.Save

This example prints Sales.doc with comments and field results.

With Options
    .PrintFieldCodes = False
    .PrintComments = True
End With
Documents("Sales.doc").PrintOut