Font.Spacing property (Word)
Returns or sets the spacing (in points) between characters. Read/write Single.
expression. Spacing
expression Required. A variable that represents a Font object.
This example demonstrates two different character spacings at the beginning of the active document.
Set myRange = ActiveDocument.Range(Start:=0, End:=0)
With myRange
.InsertAfter "Demonstration of no character spacing."
.InsertParagraphAfter
.InsertAfter "Demonstration of character spacing (1.5pt)."
.InsertParagraphAfter
End With
ActiveDocument.Paragraphs(2).Range.Font.Spacing = 1.5
This example sets the character spacing of the selected text to 2 points.
If Selection.Type = wdSelectionNormal Then
Selection.Font.Spacing = 2
Else
MsgBox "You need to select some text."
End If
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.