Cells.SetHeight procedure builder

Cells.SetHeight (Word)

Sets the height of table cells.

Setting the SetHeight property of a Cells object automatically sets the property for the entire row.

SetHeight (RowHeight, HeightRule)

If Selection.Information(wdWithInTable) = True Then 
 Selection.Cells.SetHeight RowHeight:=18, _ 
 MsgBox "The insertion point is not in a table." 
End If


The following arguments are required:

RowHeight - The height of the row or rows, in points

HeightRule (WdRowHeightRule) - The rule for determining the height of the specified cells.

Possible Values are wdRowHeightAtLeast - The row height is at least a minimum specified value, wdRowHeightAuto - The row height is adjusted to accommodate the tallest value in the row, wdRowHeightExactly - The row height is an exact value.