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

Re: Select text on specific line by Helmut

Helmut
Sun Nov 04 08:50:29 PST 2007

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"

Re: Select text on specific line by Dan

Dan
Sun Nov 04 15:54:58 PST 2007

Thanks Helmut,
That's what I needed.

Dan


"Helmut Weber" <nbhymsjxdgcn@mailinator.com> wrote in message
news:astri3l8fv8ob0f9afifafkhssekdfv1u1@4ax.com...
> 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"