Muokkaa

Jaa


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.

Syntax

expression. IsEndOfRowMark

expression A variable that represents a Range object.

Remarks

This property is the equivalent of the following expression:

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).

ActiveDocument.Range.Collapse Direction:=wdCollapseEnd 
If ActiveDocument.Range.IsEndOfRowMark = True Then 
 ActiveDocument.Range.Rows(1).Select 
End If

See also

Range Object

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.