GetRangeByNumber

GetRangeByNumber(ws, r1, c1, r2, c2, areas) → { ApiRange }

Returns an object that represents the range of the specified sheet using the maximum and minimum row/column coordinates.

Parameters:

Name Type Description
ws ApiWorksheet

The sheet where the specified range is represented.

r1 number

The minimum row number of the specified range.

c1 number

The minimum column number of the specified range.

r2 number

The maximum row number of the specified range.

c2 number

The maximum column number of the specified range.

areas ApiAreas

A collection of the ranges from the specified range.

Returns:

Type
ApiRange