Edit

Share via


Row.Height property (Word)

Returns or sets the height (in points) of the specified row in a table. Read/write Single.

Syntax

expression.Height

expression A variable that represents a 'Row' object.

Remarks

If the HeightRule property of the specified row is wdRowHeightAuto, Height returns wdUndefined; setting the Height property sets HeightRule to wdRowHeightAtLeast.

Example

This example sets the height of the rows in the first table in the active document to at least 20 points.

ActiveDocument.Tables(1).Rows.Height = 20

See also

Row Object

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.