AutoFormatReplaceFarEastDashes Property

Microsoft Word Visual Basic

expression.AutoFormatReplaceFarEastDashes

expression    Required. An expression that returns an Options object.

Example

This example sets Microsoft Word to automatically correct the use of long vowel sounds and dashes, and then it formats the current selection.

Options.AutoFormatReplaceFarEastDashes = True
Selection.Range.AutoFormat