C#: How to access an Excel cell?

后端 未结 7 1135
忘掉有多难
忘掉有多难 2020-12-05 18:25

I am trying to open an Excel file and populate its cells with data? I have done the following coding so far.

Currently I am at this stage with the following code but

7条回答
  •  鱼传尺愫
    2020-12-05 19:12

    You can use the below code; it's working fine for me:

    newWorkbook = appExcel.Workbooks.Add();
    

提交回复
热议问题