Merge cell range

Description

Merge 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
Result

Merge cells