I am updating an internal application that creates excel files based on a template, and I would like to recreate that functionality without having to use the excel interop. Does anyone know of any open source projects that can do this? I was using ExcelLibrary, but it does not work with the template.
Thanks!
EDIT: I am only interested in solutions that are known to work with existing *.xlt or *.xltx templates. Solutions where this is unknown are not helpful. Those can be found all over the web.
See OpenXML 2.0 from MS…
It is a free library that does NOT require office to be installed… you can read + write Office files including Excel and Word (Version 2007 and up…).
IF you need more features (like rendering to PDF etc.) and/or support for pre-2007 formats (like XLT) then you would need some 3rd-party library… not opensource… but take a look at Aspose.Cells – it handles XLT, XLTX, XLTM etc. too – for example regarding support for XLTX + XLTM see http://www.aspose.com/documentation/.net-components/aspose.cells-for-.net/feature-overview.html