title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Rows.HeightRule property (Word) |
vbawd10.chm155975688 |
|
|
478635fd-fcaa-d679-e0e2-b24258615d04 |
06/08/2017 |
medium |
Returns or sets the rule for determining the height of the specified cells or rows. Read/write WdRowHeightRule.
expression. HeightRule
expression Required. A variable that represents a Rows object.
This example sets the height rule for the selected rows to automatically adjust to the tallest cell in the row.
If Selection.Information(wdWithInTable) = True Then
Selection.Rows.HeightRule = wdRowHeightAuto
Else
MsgBox "The insertion point is not in a table."
End If
[!includeSupport and feedback]