使用Excel时可以对单元格使用“最适合的行高”和最适合的列宽来实现autosize
Columns[i].ColumnWidth.autosize:=true;