Merge cell range
Description
Merges the selected cell range.
(function()
{
Api.GetActiveSheet().GetRange("A1:B3").Merge(true);
})();
Methods used: GetActiveSheet, GetRange, Merge
Reference Microsoft VBA macro code
Sub example()
Range("A1:B3").Merge
End Sub