Application.SetRowHeight method (Project)

Sets the height of the specified rows.


expression. SetRowHeight( _Unit_, _Rows_, _UseUniqueID_ )

expression A variable that represents an Application object.


Name Required/Optional Data type Description
Unit Optional Integer The height of the rows, in lines. The maximum value for Unit is 20.
Rows Optional String The row(s) to select. The value for Rows can be a single row (for example, "5"), a range of rows (for example, "1-8"), a list of discontiguous rows (for example, "5,7-9,12"), or "ALL" to select every row. If Rows is not specified and an existing selection exists, the selection will be used. The default with no existing selection is to use the active row.
UseUniqueID Optional Boolean True if the value specified with Rows is the unique identification number(s) for resources or tasks. False if Rows specifies row numbers. The default value is False.

Return value


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.