Compartilhar via


Range.IsEndOfRowMark Property

Word Developer Reference

True if the specified 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 Range object.

Remarks

This property is the equivalent of the following expression:

Visual Basic for Applications
  ActiveDocument.Range.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
  ActiveDocument.Range.Collapse Direction:=wdCollapseEnd
If ActiveDocument.Range.IsEndOfRowMark = True Then
    ActiveDocument.Range.Rows(1).Select
End If

See Also