Range.MergeCells (Excel)
True if the range contains merged cells.
When you select a range that contains merged cells, the resulting selection may be different from the intended selection. Use the Address property to check the address of the selected range.
ActiveCell.MergeCells = True