Export (0) Print
Expand All
Expand Minimize

_Worksheet.Cells property

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

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Range Cells { get; }

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.

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

Community Additions

ADD
Show:
© 2014 Microsoft