Function parseRangeAddress

  • Parses a range like "A1:B5", "$A$1:B5", "A:A", "B:D", "3:3" or a single cell "C7". The corners are sorted ("B5:A1" = "A1:B5").

    Parameters

    • address: string

      the range

    Returns RangeAddressIf | undefined

    the range; undefined if invalid

    Example

    parseRangeAddress("A:A")?.to.row;   // 1048575
    

    Since

    1.1.99