Cells Property

Cells Property

See Also         Example         Applies To

Application object: Returns a Range object that represents all the cells on the active worksheet. If the active document isn’t a worksheet, this property fails. Read-only.

Range object: Returns a Range object that represents the cells in the specified range (in other words, it does nothing). Read-only.

Worksheet object: Returns a Range object that represents all the cells on the worksheet (not just the cells that are currently in use). Read-only.

Remarks

Because the Item property is the default property for the Range object, you can specify the row and column index immediately after the Cells keyword. For more information, see the Item property and the examples for this topic.

Using this property without an object qualifier returns a Range object that represents all the cells on the active worksheet.