Font.NumberForm (Word)

Returns or sets the number form setting for an OpenType font. Possible return values are wdNumberFormDefault - Applies the default number form for the font, wdNumberFormLining - Applies the lining number form to the font, wdNumberFormOldStyle - Applies the "old-style" number form to the font.

Numbers in OpenType fonts can be displayed either with consistent heights along the baseline of the text (called "lining"), or with varying heights (called "hanging" or "old style") where numbers are displayed above or below the baseline of the text. Use the NumberForm property to specify whether numbers are displayed using lining or old-style. Setting this property has the same effect as selecting an item in the dropdown box next to Number forms: (OpenType features group, Advanced tab in the Font dialog in Word).


ActiveDocument.Range.Font.NumberForm = wdNumberFormOldStyle