Determine the position of the cursor on the page in points

(72 pts. = 1 inch = 2.54 cm)

Article contributed by Bill Coan and Jonathan West

Bearing in mind the caveat below, you can use:

x = Selection.Information(wdHorizontalPositionRelativeToPage)
y = Selection.Information(wdVerticalPositionRelativeToPage)
  

Important caveat

y = Selection.Information(wdVerticalPositionRelativeToPage) does not return the correct value unless you are in Page view. In Normal view, it returns the distance from the top margin.

Always set the view to be Page view, with Magnification set to 100%, before using the Information property to get the cursor position.


Click to view Terms of Use page

Click to view Disclaimer page