Select text on specific line

D

Dan

Hi,
I need to get the text that is on a specific line. The text will always be
different but always in the same
position in the document.
Thanks!

Dan
 
H

Helmut Weber

Hi Dan,

how is position defined?

3rd line on a page?

Then:
Goto page,
goto line "+2",
MsgBox Selection.Bookmarks("\line").Range.Text

--
Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
 

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