_Application.Cells Property
Returns a Range object that represents all the cells on the active worksheet. If the active document isn’t a worksheet, this property fails.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
ReadOnly Property Cells As Range
Get
'Usage
Dim instance As _Application
Dim value As Range
value = instance.Cells
Range Cells { get; }
Property Value
Type: Microsoft.Office.Interop.Excel.Range
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.