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!

TTT
  • 73
  • 1
  • 9

1 Answers1

0

NPOI is a great tool and is Open Source:

NPOI

CR41G14
  • 5,464
  • 5
  • 43
  • 64
  • 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 Dec 03 '12 at 08:29
  • NPOI does not support macros. See this post (http://stackoverflow.com/questions/6937777/how-to-call-a-macro-from-apache-poi-library-in-java) – Ricardo Appleton Jun 24 '13 at 09:32