_Worksheet.Cells Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a Range object that represents all the cells on the worksheet (not just the cells that are currently in use). Read-only.
public:
property Microsoft::Office::Interop::Excel::Range ^ Cells { Microsoft::Office::Interop::Excel::Range ^ get(); };
public Microsoft.Office.Interop.Excel.Range Cells { get; }
Public ReadOnly Property Cells As Range
Property Value
Remarks
Because the Item[Object] 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.