Syncfusion.XlsIO.Base


First range to merge.
Second range to merge.

MergeRanges Method

Merges two ranges.
Syntax
'Declaration
 
Function MergeRanges( _
   ByVal range1 As IRange, _
   ByVal range2 As IRange _
) As IRange
'Usage
 
Dim instance As IWorksheet
Dim range1 As IRange
Dim range2 As IRange
Dim value As IRange
 
value = instance.MergeRanges(range1, range2)
IRange MergeRanges( 
   IRange range1,
   IRange range2
)

Parameters

range1
First range to merge.
range2
Second range to merge.

Return Value

Merged ranges or NULL if is not able to merge ranges.
Exceptions
ExceptionDescription
When range1 or range2 is NULL.
AssemblyVersion

Syncfusion.XlsIO.Base: 16.4460.0.40

See Also