IsLast Property

Applies To

Column object, Row object.

Description

True if the specified column or row is the last one in the table. Read-only Boolean.

See Also

IsFirst property, Last property, RowIndex property.

Example

This example determines whether the second row is the last row in the table.

MsgBox ActiveDocument.Tables(1).Rows(2).IsLast
This example determines whether the first column in the selection is the last column in the table.

If Selection.Information(wdWithInTable) = True Then
    MsgBox Selection.Columns(1).IsLast
End If