Once more about cell formatting
cell.EntireRow.WrapText = True
cell.EntireRow.AutoFit
cell.IndentLevel = 1 ' AutoFit is discarded
Or reverse
cell.IndentLevel = 1
cell.EntireRow.WrapText = True
cell.EntireRow.AutoFit ' IndentLevel is discarded
So, is it possible to keep cell IndentLevel and RowHeight AutoFit – together ?
You probably want to set both
RowHeightandColumnWidth.For some reason, it seems Column auto fit works if column width starts out wider than you need, so try this