Description
Automatically fits row height to the minimum size required for all lines in the row cells to be visible.

Namespace: Docs.Excel
Assembly: Excel (in Excel.dll) Version: 3.1.0.0 (3.1)

Syntax

         
 C#  Visual Basic  Visual C++ 
public void Autofit()
Public Sub Autofit
public:
void Autofit()

See Also