如何在C#中为特定Excel的格式编号

时间:2019-02-27 07:37:39

标签: c# excel

我想在c#中为特定的excel编号格式。目前,它正在格式化从UI导出的所有单元格

foreach (TableCell cell in e.Row.Cells)
{
    cell.Style.Add("mso-style-parent", "style0");
    cell.Style.Add("mso-number-format", "\\@");
}

0 个答案:

没有答案