Application.FormulaBarHeight property (Excel)

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



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 

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.