Can we write a macro in C# for Excel

前端 未结 4 1052
Happy的楠姐
Happy的楠姐 2020-12-24 11:34

I have to traverse about 25 sheets in excel for doing operations.I\'m doing it using vba and finding it really slow,hence wanted to know if I could use C# and if doing that

4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-24 11:43

    Call C# from Excel workbook like VBA macro - you can't

    Access Excel workbook from C# application - you can. This is called Microsoft Visual Studio Tools for Office (VSTO)

提交回复
热议问题