Share via


rowSpan Property

Returns or sets an Integer that represents the number of rows the cell in a TABLE should span.

expression.rowSpan

*expression   * Required. An expression that returns one of the objects in the Applies To list.

Example

The following example sets the first cell in the first row of the first table to span two rows. This example assumes that you have at least one TABLE element in the active document.

Dim objCell As FPHTMLTableCell

Set objCell = ActiveDocument.body.all.tags("table") _
    .Item(0).rows.Item(0).cells.Item(0)
    
objCell.rowSpan = 2

Applies to | FPHTMLTableCell Object | IHTMLTableCell Object