Table of contents
TOC
Collapse the table of content
Expand the table of content

Row.Height Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

Returns or sets a Variant that represents the height (in points) of a specified table row or shape. Read/write.

Syntax

expression. Height

_expression_A variable that represents a Row object.

Remarks

The valid range for the Height property depends on the size of the application workspace and the position of the object within the workspace. For centered objects on non-banner page sizes, the Height property may be 0.0 to 50.0 inches. For centered objects on banner page sizes, the Height property may be 0.0 to 241.0 inches.

Example

This example creates a new table and sets the height and width of the second row and column, respectively.

Sub SetRowHeightColumnWidth() 
 With ActiveDocument.Pages(1).Shapes.AddTable(NumRows:=3, _ 
 NumColumns:=3, Left:=80, Top:=80, Width:=400, Height:=12).Table 
 .Rows(2).Height = 72 
 .Columns(2).Width = 72 
 End With 
End Sub
© 2018 Microsoft