错误现象:
1 OfficeOpenXml.ExcelRange range = cells.get_Item("A1"); 2 range.Style.Font.Bold = true;
规避方法:
1 OfficeOpenXml.ExcelRange range = cells.get_Item("A1"); 2 var f = range.Style.Font; 3 f.Bold = true;
原文:https://www.cnblogs.com/puxian/p/10635775.html