AutoFormatAsYouTypeReplaceSymbols Property Example

This example turns on the replacement of hyphens with symbols as you type.

Options.AutoFormatAsYouTypeReplaceSymbols = True

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

temp = Options.AutoFormatAsYouTypeReplaceSymbols