Cell.HeightRule procedure builder

Cell.HeightRule (Word)

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

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 Cell object automatically sets the height for the entire row.

Selection.Cells(1).HeightRule = wdRowHeightAtLeast