1

Do you know any external MS Excel library for C# (it should work without MS Office installed on machine) which has possibility to run macros?

It's possible to run it with "Microsoft.Office.Interop.Excel", but for that you need MS Office.

The scenario: I have MS Excel file template with macro. Adding part of the data programmatically to that template, running macro which was wrote to excel template, adding another part of data.

Thanks in advance!

0

1 Answer 1

0

NPOI is a great tool and is Open Source:

NPOI

2
  • I haven't found any method to run macros with this library. If there exists a ability to do that, could you give me a hint?
    – TTT
    Commented Dec 3, 2012 at 8:29
  • NPOI does not support macros. See this post (stackoverflow.com/questions/6937777/…) Commented Jun 24, 2013 at 9:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.