how to check MS Word paragraph line spacing using vba script


Joined
Sep 12, 2018
Messages
1
Reaction score
0
how to check MS Word paragraph line spacing using vba script.
"Sub asd() Set myRange = ActiveDocument.Paragraphs(1).Range
With myRange.ParagraphFormat
.LineSpacingRule = wdLineSpaceMultiple
.LineSpacing = LinesToPoints(1.5)
End With
End Sub"

This Code only add (1.5) spacing in paragraph(1). Now i need a code that take paragraph(1) and gives me its line spacing for example in this case it gives 1.5.
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top