Excel VBA ile autofit komutu ile tüm hücreleri, içindeki verilere göre otomatik ayarlayabilirsiniz.
Sheets(1).Range("A:E").Columns.AutoFit