AutoFormatAsYouTypeReplaceOrdinals Property Example

This example turns on the automatic replacement of ordinals with superscript letters.

Options.AutoFormatAsYouTypeReplaceOrdinals = True

This example returns the status of the Ordinals (1st) with superscript option on the AutoFormat As You Type tab in the AutoCorrect dialog box (Tools menu).

temp = Options.AutoFormatAsYouTypeReplaceOrdinals