Using EPPlus Excel - How to ignore excel error checking or remove green tag on top left of the cell

前端 未结 7 1713
孤街浪徒
孤街浪徒 2020-12-13 16:29

I use EPPlus to export excel 2007 file. The file can export normally but i have some problem with setting column format. My string column with numeric style (Purchase Order

7条回答
  •  北荒
    北荒 (楼主)
    2020-12-13 17:10

    You can use

    worksheet.Cell[1,1].Formula = "TEXT(" + cellvalue ")";
    

提交回复
热议问题