AutoFormatReplaceSymbols Property Example

This example turns on the replacement of hyphens with symbols, and then it formats the current selection automatically.

Options.AutoFormatReplaceSymbols = True
Selection.Range.AutoFormat

This example returns the status of the Symbol characters (--) with symbols (—) option on the AutoFormat tab in the AutoCorrect dialog box (Tools menu).

temp = Options.AutoFormatReplaceSymbols