GrapeCity.Documents.Excel Namespace / IRange Interface / Union Method / Union(IRange) Method
The range to union with this range.
In This Topic
Union(IRange) Method
In This Topic
Returns an IRange object that represents the union of two ranges.

If range2 is from a different worksheet, an exception is thrown.
Syntax
IRange Union( 
   IRange range2
)

Parameters

range2
The range to union with this range.

Return Value

A new range which consists of the union of this range and range2.
See Also