EntireRow Property

Microsoft Excel Visual Basic

Returns a Range object that represents the entire row (or rows) that contains the specified range. Read-only.

Example

This example sets the value of the first cell in the row that contains the active cell. The example must be run from a worksheet.

ActiveCell.EntireRow.Cells(1, 1).Value = 5