Paragraphs.LineSpacing property (Word)
Returns or sets the line spacing (in points) for the specified paragraphs. Read/write Single.
Syntax
expression. LineSpacing
expression An expression that represents a 'Paragraphs' object.
Remarks
Use the LinesToPoints method to convert a number of lines to the corresponding value in points. For example, LinesToPoints(2)
returns the value 24.
The LineSpacing property can be set after the LineSpacingRule property has been set to:
wdLineSpaceAtLeast the line spacing can be greater than or equal to, but never less than, the specified LineSpacing value.
wdLineSpaceExactly the line spacing never changes from the specified LineSpacing value, even if a larger font is used within the paragraph.
wdLineSpaceMultiple a LineSpacing property value must be specified, in points.
Example
This example triple-spaces the lines in the selected paragraphs.
With Selection.Paragraphs
.LineSpacingRule = wdLineSpaceMultiple
.LineSpacing = LinesToPoints(3)
End With
See also
Support and feedback
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for