Range.EntireRow Property

Office 2007

 

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

Syntax

expression.EntireRow

expression   A variable that represents a Range object.

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.

Visual Basic for Applications
ActiveCell.EntireRow.Cells(1, 1).Value = 5

 
posted @ 2012-04-10 14:12  QiutongChen  阅读(233)  评论(0编辑  收藏  举报