Cells.HeightRule procedure builder

Cells.HeightRule (Word)

Returns or sets a WdRowHeightRule constant that represents the rule for determining the height of the specified cells.

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.

Setting the HeightRule property of a Cells collection automatically sets the height for the entire row.

Selection.Cells.HeightRule = wdRowHeightAtLeast