CellsItem Property (Int32, Int32)

Gets the Cell element at the specified cell row index and column index.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.9.0.0 (20.9)
Syntax
public Cell this[
	int row,
	int column
] { get; }

Parameters

row
Type: SystemInt32
Row index.
column
Type: SystemInt32
Column index.

Return Value

Type: Cell
The Cell object.
Examples
[C#]

Cells cells = excel.Worksheets[0].Cells;
Cell cell = cells[0, 0];    //Gets the cell at "A1"

[Visual Basic]

Dim cells As Cells =  excel.Worksheets(0).Cells 
Dim cell As Cell =  cells(0,0)  'Gets the cell at "A1"
See Also