word tex line

D

Dave Lett

Hi,

You MIGHT be able to use something like the following:

Dim sLine As String
sLine = ActiveDocument.Paragraphs(1).Range.Bookmarks("\Line").Range.Text
MsgBox sLine

HOWEVER, your cursor needs to be in the line that you want to "retrieve".

HTH,
Dave
 
Top