Cell.Merge Method
Word Developer Reference |
Merges the specified table cell with another table cell. The result is a single table cell.
Syntax
expression.Merge(MergeTo)
expression Required. A variable that represents a Cell object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
MergeTo | Required | Cell object | The cell to be merged with. |
Example
This example merges the first two cells in table one in the active document with one another and then removes the table borders.
Visual Basic for Applications |
---|
|
See Also