MergeCells Method

Merges cells in a table.

See Also | Example

Signature

object.MergeCells(minRow, maxRow, minCol, maxCol)

Object

Table
The object or objects this method applies to.

minRow

Long; zero-based lower bound of a row index

maxRow

Long; zero-based upper bound of a row index

minCol

Long; zero-based lower bound of a column index

maxCol

Long; zero-based upper bound of a column index

Remarks

This method merges a rectangular region of cells. The total number of cells to be merged is equal to (maxRow - minRow + 1) * (maxCol - minCol + 1).

 

   Comments?