AutoFormatAsYouTypeReplaceOrdinals Property

Applies To

Options object.

Description

True if the ordinal number suffixes "st," "nd," "rd," and "th" are replaced with the same letters in superscript as you type. For example, "1st" is replaced with "1st." Read/write Boolean.

See Also

AutoFormatReplaceOrdinals property, Superscript 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