c# - Add row in a existing Excel document with styles -


I am working with C # 2008 (FW 3.5), OpenXML SDK 2.0 and an Excel 2007 document.

Take the price of the program from a database and create a dynamic table, and the values ​​are pasted in the Excel template.

It's all right, but I need something else:

I need to create a new line in the template, but with styles (border, font, backcolor, etc.) And how do I do this?

Can someone help me with code for example?

Many thanks and excuse my English.

I had the same status and found nothing better, but use a vb macros in Excel document Which adds a new line and opens it to the net.


Comments