FormulaBarHeight Property
Collapse the table of content
Expand the table of content

Application.FormulaBarHeight Property (Excel)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Allows the user to specify the height of the formula bar in lines. Read/write Long.

expression .FormulaBarHeight

expression A variable that represents an Application object.

If the specified value of FormulaBarHeight is greater than the viewable window space, the formula bar is resized to be equal to the window height.

In the following example, the height of the formula bar is set to five lines.

Application.FormulaBarHeight = 5 
© 2016 Microsoft