get_cell method

get_cell

Retrieves a cell from the specified worksheet using its index and Excel-style cell name (e.g., “B2”).

Returns

The cell at the specified location.

def get_cell(self, worksheet_index, cell_name):
    ...
ParameterTypeDescription
worksheet_indexintZero-based index of the worksheet.
cell_namestrThe Excel-style cell reference (e.g., “A1”, “C5”).

Examples

Example:

get_cell

Retrieves a cell from the specified worksheet using Excel-style cell name (e.g., “B2”).

Returns

The cell at the specified location.

def get_cell(self, worksheet_name, cell_name):
    ...
ParameterTypeDescription
worksheet_namestrThe name of the worksheet.
cell_namestrThe Excel-style cell reference (e.g., “A1”, “C5”).

Examples

Example:

get_cell

Retrieves a cell from the specified worksheet using its index and cell coordinates.

Returns

The cell at the specified location.

def get_cell(self, worksheet_index, row, column):
    ...
ParameterTypeDescription
worksheet_indexintZero-based index of the worksheet.
rowintZero-based row index of the cell.
columnintZero-based column index of the cell.

Examples

Example:

get_cell

Retrieves a cell from the specified worksheet using its name and cell coordinates.

Returns

The cell at the specified location.

def get_cell(self, worksheet_name, row, column):
    ...
ParameterTypeDescription
worksheet_namestrThe name of the worksheet.
rowintZero-based row index of the cell.
columnintZero-based column index of the cell.

Examples

Example:

See Also