Getting the current Sentence position
Posted on 2002-07-17
I have the following code.
Dim wrdApp As Word.Application
Dim appWord As Word.Document
wrdApp.Selection.GoTo wdGoToLine, wdGoToFirst
and i open appWord with the wrdapp.open
.Forward = True
.Wrap = wdFindStop
.Text = "$"
When it finds the occurance of the $, i need to findout what line number it is on, how can i do that?
appword.Sentences(10) is line 10 (the line number i want)
but i can't find anything that will return to me that current position or line number.