2019-08-13 excel 数据居中
2019-08-13 本文已影响0人
1f658716b568
worksheet.Columns.EntireColumn.AutoFit();//列宽自适应
worksheet.Columns.HorizontalAlignment = Microsoft.Office.Interop.Excel.XlVAlign.xlVAlignCenter;//居中
worksheet.Columns.EntireColumn.AutoFit();//列宽自适应
worksheet.Columns.HorizontalAlignment = Microsoft.Office.Interop.Excel.XlVAlign.xlVAlignCenter;//居中