CellsItem Property (String)

Gets the Cell element at the specified cell name.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.9.0.0 (20.9)
Syntax
public Cell this[
	string cellName
] { get; }

Parameters

cellName
Type: SystemString
Cell name,including its column letter and row number, for example A5.

Return Value

Type: Cell
A Cell object
Examples
[C#]

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

[Visual Basic]

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