Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How to find the vertical position on the page where the text-cursorare placed
Hi
With this code I can get the vertical position of word number 40: ---- MsgBox PointsToCentimeters(ActiveDocument.Words(40).Infor mation(wdVerticalPosition* RelativeToPage)) ---- but I want the vertical position where the textcursor are placed in the text - how? Can anybody help me with this problems? (thanks). |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How to find the vertical position on the page where the text-cursor are placed
Hi pmm,
The code: MsgBox PointsToCentimeters(Selection.Information(wdVertic alPositionRelativeToPage)) will return the vertical position of the first character in a selection or, if no character is selected, the insertion point. Cheers -- macropod [MVP - Microsoft Word] ------------------------- "pmm" wrote in message ... Hi With this code I can get the vertical position of word number 40: ---- MsgBox PointsToCentimeters(ActiveDocument.Words(40).Infor mation(wdVerticalPosition* RelativeToPage)) ---- but I want the vertical position where the textcursor are placed in the text - how? Can anybody help me with this problems? (thanks). |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Word 2007: Status bar does not show Vertical position change | Microsoft Word Help | |||
wirting text in vertical position in winword | Microsoft Word Help | |||
how do I adjust the position of the vertical lines in pleadings? | Microsoft Word Help | |||
Frame Vertical/Horizontal Position - Outside vs. Inside Relative t | Page Layout | |||
Changing vertical position of footnote separator | Page Layout |