[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IWorksheet.Cells

Cells Property

Cells

Gets the IRange object that represents all cells in the worksheet.

The returned range covers the entire worksheet, including cells that are not currently in use.

Declaration
IRange Cells { get; }
ReadOnly Property Cells As IRange
Examples
worksheet.Range["A1"].Value = "Name";
worksheet.Range["B2"].Value = 100;
IRange cells = worksheet.Cells;
IRange firstCell = cells[0, 0];