In a mixed selection that begins in a paragraph and ends in the first row of
a table, the range.paragraphs contains the end-of-row marker as a para.

If I select that para range, range.information(wdatendofrowmarker) is false.
If I collapse the range, it's true.

Is there any other way I could detect that the para was the end-of-row
marker without collapsing it or creating a working range to collapse and test?

In other words, is there any way to test that the end of row marker is
selected aside from range.information?

Bear
--
Windows XP, Word 2000

RE: Detecting the end of a row by HelmutWeber

HelmutWeber
Fri Oct 12 01:01:03 PDT 2007

Hi Bear,

maybe this will help:

The end-of-row mark is in a table, but not in a cell!

You may like to combine the following observation into a function.
Select a row:

Sub TestAAA()
Dim r As Range
Set r = Selection.Range
MsgBox r.Characters.Last.Information(wdWithInTable)
MsgBox r.Characters.Last.Cells.Count
End Sub


HTH


--
Greetings from Bavaria, Germany
Helmut Weber, MVP WordVBA
"red.sys" & chr(64) & "t-online.de"
Word 2002, Windows 2000 (german versions)