Application.LinesToPoints Method (Word)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Converts a measurement from lines to points (1 line = 12 points). Returns the converted measurement as a Single.

expression .LinesToPoints(Lines)

expression A variable that represents an Application object. Optional.

Parameters

Name

Required/Optional

Data Type

Description

Lines

Required

Single

The line value to be converted to points.

Return Value

Single

This example sets the paragraph line spacing in the selection to three lines.

With Selection.ParagraphFormat 
 .LineSpacingRule = wdLineSpaceMultiple 
 .LineSpacing = LinesToPoints(3) 
End With
Show: