0

I have an Excel template 97-2003 (xls) which contains some VBA macros, format/formula and style and I put it on my web application (ASP.Net MVC, c#) and I'm stuck in writing function 'export data filled in this Excel template without using COM, result format must be *.xls'. And I need to update the VBA macros programmatically tool. I've tried Excellibrary https://code.google.com/p/excellibrary/ but it only save as the cells content. And EPPlus library don't work for xls.

Community
  • 1
  • 1
khangcv
  • 81
  • 2
  • 8

1 Answers1

0

Going with COM interface for MS Excel is the easiest option to write XLS (but please notice that Microsoft is not recommending to use Office components in server-side apps due to some technical and licensing considerations.)

There are couple of 3rd party commercial .NET (with .NET interface) components which are capable of reading and writing XLS:

Disclosure: I am affiliated with ByteScout

Peter O.
  • 32,158
  • 14
  • 82
  • 96
Eugene
  • 2,820
  • 19
  • 24