AutoFormatReplaceFarEastDashes Property 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