Can we write a macro in C# for Excel

前端 未结 4 928
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:46

    You can try my ESharper add-in to write an Excel automation command in C#. It is easier than creating a separate C# application or an add-in, and you will have access to both Excel object model and Excel C API with more options for performance optimization.

提交回复
热议问题