SpaceAfter Property

Microsoft Word Visual Basic

SpaceAfter Property

       

Returns or sets the amount of spacing (in points) after the specified paragraph or text column. Read/write Single.

expression.SpaceAfter

expression   Required. An expression that returns one of the objects in the Applies To list.

Example

This example sets the spacing after the first paragraph in the active document to 12 points.

ActiveDocument.Paragraphs(1).SpaceAfter = 12

This example sets the active document to three columns with a 0.5-inch space after the first column. The InchesToPoints method is used to convert inches to points.

With ActiveDocument.PageSetup.TextColumns
    .SetCount NumColumns:=3
    .LineBetween = False
    .EvenlySpaced = True
    .Item(1).SpaceAfter = InchesToPoints(0.5)
End With