From: APF on
How can I display the measurement of the cursor's position in inches from the
left margin/left edge of the page and the number of lines down from the top
margin/edge of page in Word?
From: Doug Robbins - Word MVP on
You can use the VBA Selection.Information method

MsgBox "The Selection is " &
Selection.Information(wdHorizontalPositionRelativeToPage)/72 & " inch from
the left edge of the page."
MsgBox "The Selection is " &
Selection.Information(wdVerticalPositionRelativeToPage)/72 & "inch from the
top of the page."

The division by 72 is to convert the result from points to inches.

--
Hope this helps,

Doug Robbins - Word MVP

Please reply only to the newsgroups unless you wish to obtain my services on
a paid professional basis.

"APF" <APF(a)discussions.microsoft.com> wrote in message
news:59673EDD-6D9C-40FA-86E4-DAAE944A3D3F(a)microsoft.com...
> How can I display the measurement of the cursor's position in inches from
> the
> left margin/left edge of the page and the number of lines down from the
> top
> margin/edge of page in Word?

From: Jay Freedman on
You could also use the PointsToInches() function so you don't have to
remember the number 72. :-)

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.

On Wed, 24 Feb 2010 11:35:24 +1000, "Doug Robbins - Word MVP"
<dkr(a)REMOVECAPSmvps.org> wrote:

>You can use the VBA Selection.Information method
>
>MsgBox "The Selection is " &
>Selection.Information(wdHorizontalPositionRelativeToPage)/72 & " inch from
>the left edge of the page."
>MsgBox "The Selection is " &
>Selection.Information(wdVerticalPositionRelativeToPage)/72 & "inch from the
>top of the page."
>
>The division by 72 is to convert the result from points to inches.
>
>--
>Hope this helps,
>
>Doug Robbins - Word MVP
>
>Please reply only to the newsgroups unless you wish to obtain my services on
>a paid professional basis.
>
>"APF" <APF(a)discussions.microsoft.com> wrote in message
>news:59673EDD-6D9C-40FA-86E4-DAAE944A3D3F(a)microsoft.com...
>> How can I display the measurement of the cursor's position in inches from
>> the
>> left margin/left edge of the page and the number of lines down from the
>> top
>> margin/edge of page in Word?