Range.IsEndOfRowMark property (Word)
True if the specified range is collapsed and is located at the end-of-row mark in a table. Read-only Boolean.
expression A variable that represents a Range object.
This property is the equivalent of the following expression:
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).
ActiveDocument.Range.Collapse Direction:=wdCollapseEnd If ActiveDocument.Range.IsEndOfRowMark = True Then ActiveDocument.Range.Rows(1).Select End If
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.