SpreadsheetGear 2012
Merge Method (IRange)






Merges the cells in the represented range into a single merged cell.
Syntax
'Declaration
 
Sub Merge() 
'Usage
 
Dim instance As IRange
 
instance.Merge()
void Merge()
procedure Merge(); 
function Merge();
void Merge(); 
void Merge(); 
Remarks
If any cell other than the top-left cell of the specified range contains data and/or formatting, this data and/or formatting will be lost.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IRange Interface
IRange Members
UnMerge Method
MergeArea Property
MergeCells Property
EntireMergeArea Property

Send Feedback