EntireRow Property

Microsoft Office Web Components Object Model

EntireRow Property

       

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

expression.EntireRow

expression   Required. An expression that returns a Range object.

Example

This example sets the font color for the entire row containing the active cell.

Spreadsheet1.ActiveCell.EntireRow.Font.Color = "red"