Font.NumberSpacing Property (Word)

Returns or sets the number spacing setting for a font. Read/write WdNumberSpacing.

Version Added: Word 2010

expression .NumberSpacing

expression An expression that returns a Font object.

OpenType fonts support a proportional and tabular figure feature to control number spacing. Proportional number spacing handles each number as having a different width. For example, "1" is displayed as narrower than "5". Tabular number spacing handles numbers as equal in width so that they align vertically, which increases the readability, especially for financial information.

The following code example sets the number spacing to proportional for the font in the active document.

ActiveDocument.Range.Font.NumberSpacing = wdNumberSpacingProportional