Row.HeightRule property (Word)
Returns or sets the rule for determining the height of the specified cells or rows. Read/write WdRowHeightRule.
Syntax
expression. HeightRule
expression Required. A variable that represents a 'Row' object.
Example
This example creates a 3x3 table in a new document and then sets a minimum row height of 24 points for the second row.
Set newDoc = Documents.Add
Set myTable = newDoc.Tables.Add(Range:=Selection.Range, _
NumRows:=3, NumColumns:=3)
With myTable.Rows(2)
.Height = 24
.HeightRule = wdRowHeightAtLeast
End With
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for