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;//居中
本文标题:2019-08-13 excel 数据居中
本文链接:https://www.haomeiwen.com/subject/vedbjctx.html
网友评论