Selection.IsEndOfRowMark property (Word)
True if the specified selection or range is collapsed and is located at the end-of-row mark in a table. Read-only Boolean.
expression A variable that represents a Selection 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).
Selection.Collapse Direction:=wdCollapseEnd If Selection.IsEndOfRowMark = True Then Selection.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.