Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Aspose.Cells supports this feature through the AutoFitterOptions API. Using this API, it is possible to auto-fit rows in a worksheet including merged cells.
After executing the code, Aspose.Cells auto-fits rows for merged cells.
Output Excel file

Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.