Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 951 Bytes

Word.Rows.HeightRule.md

File metadata and controls

45 lines (28 loc) · 951 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Rows.HeightRule property (Word)
vbawd10.chm155975688
vbawd10.chm155975688
Word.Rows.HeightRule
478635fd-fcaa-d679-e0e2-b24258615d04
06/08/2017
medium

Rows.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 Rows object.

Example

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

See also

Rows Collection Object

[!includeSupport and feedback]