Rows.Last property (Word)

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

Syntax

expression. Last

expression Required. A variable that represents a Rows object.

Example

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

ActiveDocument.Tables(1).Rows.Last.Cells.Delete

See also

Rows Collection 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.