Rows.DistributeHeight method (Word)
Adjusts the height of the specified rows or cells so that they're equal.
Syntax
expression. DistributeHeight
expression Required. A variable that represents a Rows object.
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.
Dim rngTemp As Range
If ActiveDocument.Tables.Count >= 1 Then
Set rngTemp = ActiveDocument.Range(Start:=ActiveDocument _
.Tables(1).Rows(1).Range.Start, _
End:=ActiveDocument.Tables(1).Rows(3).Range.End)
rngTemp.Rows.DistributeHeight
End If
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.