DistributeHeight Method
Applies To
Cells collection object, Rows collection object.
Description
Adjusts the height of the specified rows or cells so that they're equal.
Syntax
expression.DistributeHeight
expression An expression that returns a Cells or Rows object.
See Also
DistributeWidth method, Height property, HeightRule property, SetHeight method.
Example
This example adjusts the height of the rows in the first table in the active document so that they're equal.
ActiveDocument.Tables(1).Rows.DistributeHeight
This example adjusts the height of the first three rows in the first table so that they're equal.
If ActiveDocument.Tables.Count >= 1 Then
Set myRange = ActiveDocument.Range(Start:=ActiveDocument.Tables(1).Rows(1).Range.Start, _
End:=ActiveDocument.Tables(1).Rows(3).Range.End)
myRange.Rows.DistributeHeight
End If