Accessing Cells of a Worksheet
Contents
[
Hide
]
Accessing Cells
Aspose.Cells for Python via Java allows you to access cells in a worksheet by using the cell name or by using the index of the row and column. This article shows both these approaches used to access cells in a worksheet
Access cell using cell name
The following code snippet demonstrates accessing the cell using the name of the cell. The sample code accesses the cell “C5” and prints its value.
Access cell using the row and column index
The following code snippet demonstrates accessing the cell using the row and column index. The sample code accesses and prints the value of the cell “C5” that is identified by row index 4 and cell index 2.