Group: microsoft.public.word.vba.general
From: "Shauna Kelly"
Date: Saturday, February 16, 2008 4:12 AM
Subject: Re: In Word 2003, a macro that reads screen size and cursor position

Hi Alan

I'm not sure exactly what you're looking for. Maybe start with the
Window object (every visible document has at least one Window). Look at
its properties and methods. That may give you what you need. If not,
post back and tell us exactly what you're trying to do, and what version
of Word you're using.

Hope this helps.

Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word


"Alan Stancliff" wrote in message
news:eonojSFcIHA.1960@TK2MSFTNGP02.phx.gbl...
> Is it possible for a macro to be written that can tell how many lines
> are on the screen and which line the cursor is on when the macro runs?
> Optionally, I would like to put these into message boxes.
>
> I'm trying to figure something out.
>
> Regards,
>
> Alan


Safety Articles | Usenet Groups | Usenet News | Bluegrass