Kerning Property

Microsoft Word Visual Basic

expression.Kerning

expression    Required. An expression that returns a Font object.

Example

This example sets the minimum font size for automatic kerning to 12 points or larger in the active document.

ActiveDocument.Content.Font.Kerning = 12
		

This example displays the minimum font size for which Word will automatically adjust kerning in the selected text.

If Selection.Type = wdSelectionNormal Then
    MsgBox Selection.Font.Kerning
Else
    MsgBox "You need to select some text."
End If