Selection.IsEndOfRowMark Property

Word Developer Reference

True if the specified selection or range is collapsed and is located at the end-of-row mark in a table. Read-only Boolean.

Syntax

expression.IsEndOfRowMark

expression   A variable that represents a Selection object.

Remarks

This property is the equivalent of the following expression:

Visual Basic for Applications
  Selection.Information(wdAtEndOfRowMarker)

Example

This example collapses the selection and selects the current row if the insertion point is at the end of the row (just before the end-of-row mark).

Visual Basic for Applications
  Selection.Collapse Direction:=wdCollapseEnd
If Selection.IsEndOfRowMark = True Then
    Selection.Rows(1).Select
End If

See Also