Form.RowHeight property (Access)
Use the RowHeight property to specify the height of all rows in Datasheet view. Read/write Integer.
Syntax
expression.RowHeight
expression A variable that represents a Form object.
Remarks
The RowHeight property applies to all fields in Datasheet view and to form controls when the form is in Datasheet view.
The RowHeight property setting represents the datasheet row height in twips. To specify the default height for the current font, you can set the RowHeight property to True.
Example
This example takes effect in Datasheet view of the open Customers form. It sets the row height to 450 twips and sizes the column to fit the size of the visible text.
Forms![Customers].RowHeight = 450
Forms![Customers]![Address].ColumnWidth = -2
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.