Hi,
If the selection or range is collapsed, the character number immediately
to the right of the range or selection is returned
this is simply wrong.
It should read as:
"The line number where the character immediately to the right is..."
And this wrong, too.
Because, if you move the insertion point to the end of a line,
e.g. Selection.EndKey Unit:=wdLine
where there is no character at all immediately to the right,
you still get the line the insertion point is in.
If one thinks of "immediately to the right" as equal to "next",
then the help is wrong again.
Happens.
--
Greetings from Bavaria, Germany
Helmut Weber, MVP WordVBA
Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"