Rows.Last Property

Word Developer Reference

Returns the last item in the Rows collection as a Row object.

Syntax

expression.Last

expression   Required. A variable that represents a Rows collection.

Example

This example deletes the last row in the first table in the active document.

Visual Basic for Applications
  ActiveDocument.Tables(1).Rows.Last.Cells.Delete

See Also