Skip to main content

Module address

Module address 

Source
Expand description

Cell addressing: A1 label encoding, 1-based coordinates, Excel bounds.

Excel limits: rows 1–1_048_576, columns 1–16_384 (A–XFD).

Structs§

CellAddress
The address of a single cell, carrying both numeric coordinates and the A1 label.
ComparedRange
The bounding rectangle that was compared for a sheet pair.

Constants§

MAX_COL
Maximum valid 1-based column index in an Excel .xlsx workbook.
MAX_COL_LABEL
The A1 label of the last valid Excel column (column 16384).
MAX_ROW
Maximum valid 1-based row index in an Excel .xlsx workbook.

Functions§

cell_pos_to_a1
Convert a 1-based (row, col) pair to an Excel A1 address string.
col_to_label
Convert a 1-based column index to an Excel column label (1"A", 16384"XFD").