Options.AutoFormatAsYouTypeReplaceOrdinals property (Word)

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 "1" followed by "st" formatted as superscript. Read/write Boolean.

Syntax

expression. AutoFormatAsYouTypeReplaceOrdinals

expression A variable that represents an Options object.

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).

Dim blnAutoFormat as Boolean 
 
blnAutoFormat = Options.AutoFormatAsYouTypeReplaceOrdinals

See also

Options Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.