Skip to content

range_boundaries

Source code

Description

Convert a range string into a list of boundaries:

https://openpyxl.readthedocs.io/en/stable/api/openpyxl.utils.cell.html

Usage

range_boundaries(range_string, ...)

Arguments

range_string range_string
Additional arguments, i.e. kwargs.

Details

(min_col, min_row, max_col, max_row) Cell coordinates will be converted into a range with the cell at both end

Value

An list.

Convert a range string into a tuple of boundaries

(min_col, min_row, max_col, max_row) Cell coordinates will be converted into a range with the cell at both end

Examples

library("xlcharts")

range_boundaries(range_string = "A")