Hi VBALover,
1)
For the current line number at the start of the selection (line on the page,
as displayed in the status bar):
? Selection.Information(wdFirstCharacterLineNumber)
If you show line numbers on the page, it may be difficult to find the line
number that's actually displayed, since line numbers can be restarted on
each page, at section breaks, or they can be continuous. Also, line
numbering can be suppressed for some section, or for some paragraphs, or
paragraph styles.
2)
? ActiveDocument.Range(0,Selection.End).ComputeStatistics(wdStatisticLines)
would give you a running total up to the end of the current selection,
and
? ActiveDocument.Content.ComputeStatistics(wdStatisticLines)
the total for the main document (without text boxes, footnotes, comments,
headers and footers).
Regards,
Klaus