modern-xlsx API Reference - v1.3.0
    Preparing search index...

    Function splitCellRef

    • Split a cell reference into column/row parts with absolute flags. The ref is upper-cased (String.prototype.toUpperCase) before matching, so lowercase input is accepted, and so is any character whose uppercase form is ASCII letters (ß1 reads as SS1); the returned col is uppercase. splitCellRef("$A$1") → { col: "A", row: "1", absCol: true, absRow: true }

      Parameters

      • ref: string

      Returns SplitCellRef

      INVALID_CELL_REF when the upper-cased ref is not a well-formed A1 reference or lies outside A1:XFD1048576.