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
 

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