Is there a utility that will let me write to an Excel 2007 .xlsm file with macros enabled?

Posted by Mike Webb on Stack Overflow See other posts from Stack Overflow or by Mike Webb
Published on 2010-04-13T17:31:36Z Indexed on 2010/04/13 17:32 UTC
Read the original article Hit count: 307

Filed under:
|

I am writing a program that writes to Excel files. I am restricted to writing to Excel 2007, which is fine, and I'm using EPPlus, which is a great utility. The thing is that I need to have macros and VBA enabled for an update function in the sheet, but EPPlus will only write to .xlsx files, not macro-enabled .xlsm files. If I try to write to .xlsm files it won't open.

Is there another code library that lets me accomplish what I need (again that's writing to Excell 2007 Macro-enabled workbooks)?

© Stack Overflow or respective owner

Related posts about c#

Related posts about excel-2007