Hello all,
Is there a way to count how many lines are in the current selection?
I've been looking for it but haven't found anything. I've found the Count property of Paragraphs, Words, & Sentences; but no Lines
property.
If not possible to count lines, how about counting the number of paragraph marks in the current selection?

Signature
Thanks for any help anyone can provide,
Conan Kelly
Greg Maxey - 13 Nov 2006 23:14 GMT
Sub Scratchmacro()
Dim oRng As Range
Set oRng = Selection.Range
MsgBox oRng.ComputeStatistics(wdStatisticLines)
End Sub

Signature
Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.
> Hello all,
>
[quoted text clipped - 5 lines]
> If not possible to count lines, how about counting the number of
> paragraph marks in the current selection?