Syntax
| XLS.MergeCells Row1, Col1, Row2, Col2
| ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Description
| Merges two or more cells in the selected range into one single cell.
Cell merge is a common feature in tables as in Excel as well. The span can hold multiple rows and columns. Please take notice that the rows and colums are one-based arrays. Therefore, when referring to Excel cell "A1", row and column numbers are 1 and 1.
| ||||||||||
See Also
| |||||||||||
Example
| Sub Main |