Changing font size of one cell in excel using C#

前端 未结 4 600
孤街浪徒
孤街浪徒 2020-12-19 11:34

I am working on a project that writes data to an Excel file.

Everything is finished now, however I need a few cells with a bigger size than the rest (title, etc). <

4条回答
  •  梦毁少年i
    2020-12-19 11:58

    I would just use:

    worksheet.Range["A7"].Style.Font.Size = 20;
    

    edit: sorry, wrong brackets

提交回复
热议问题