Skip to content

mergehorz

Merge each row of a range into a single horizontal cell.

mergehorz(cr, cr2, ...)

Merges cells row-by-row — each row in the range becomes one merged cell spanning all columns. Useful for row banners.

mergehorz(A1:D3) % three horizontally-merged rows
  • mergecells — Merge cells in a rectangular range into a single cell.
  • mergevert — Merge each column of a range into a single vertical cell.
  • dissociate — Reverse a cell merge.