property Element.AutoHeight as Long
Gets the height of the element to fit its content ( as if the AutoSize property is True ).

TypeDescription
Long A long expression that specifies the height required to display the element's content.
The AutoHeight property gets the height of the element's content as if the AutoSize property is True. The AutoWidth property gets the width required to display the element's content. The Width / Height property specifies the width /  height of the element while the AutoSize property is False.