Dynamics 365 x++ "=" 错误

错误现象:

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;

 

posted @ 2019-04-01 13:11  普贤  阅读(119)  评论(0编辑  收藏  举报