AutoFormatReplaceOrdinals Property Example

This example turns on the automatic replacement of ordinals with superscript, and then it formats the current selection automatically.

Options.AutoFormatReplaceOrdinals = True
Selection.Range.AutoFormat

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

temp = Options.AutoFormatReplaceOrdinals