Description
Creates a Range of cells from an array of Areas. A Range
is a collection of Area s; an Area
area is a rectangular collection of cells.
C#
vb.net
Parameters
rangeAreas
Array or Areas representing the range.rangeName
The name to assign to the range.Returns
ARange
object representing the range of cells created.
Remarks
Note that if a range namedrangeName
already exists in the workbook, it will be overwritten with the new named range created by this method.
Examples
C#
vb.net