Skip to content

decodeRange

On this page

Decode a range string (e.g. "A1:B2") to a Range object with start and end addresses.

If no colon is present, the range is a single cell (start equals end).

decodeRange(range: string): Range

Parameters

NameTypeRequiredDescription
rangestringYesRange string in A1 notation

Returns

Range

Range object with start (s) and end (e) addresses