This project needs a new caretaker!
As much as I hate to admit it, I can't give this project the love it deserves. If you have the time and want to take care of ClosedXML then send me a message (People tab). Big thanks to everyone who has contributed over the years.
Project Description
ClosedXML makes it easier for developers to create Excel 2007/2010 files. It provides a nice object oriented way to manipulate the files (similar to VBA) without dealing with the hassles of XML Documents. It can be used by any .NET language like C# and Visual
Basic (VB).
Request #1: If you like this project please make an entry about it in your blog. The more people who use it the better it gets.
Request #2: If you ever find yourself thinking "I wish this API allowed me to do 'this' easier", please let me know. There are only so many scenarios I can think of for using this API. I'm very interested in how you work, how you use this API,
and what can be done to make your life easier.
What can you do with this?
ClosedXML allows you to create Excel 2007/2010 files without the Excel application. The typical example is creating Excel reports on a web server.
If you've ever used the Microsoft Open XML Format SDK you know just how much code you have to write to get the same results as the following 4 lines of code.
var workbook = new XLWorkbook(); var worksheet = workbook.Worksheets.Add("Sample Sheet"); worksheet.Cell("A1").Value = "Hello World!"; workbook.SaveAs("HelloWorld.xlsx");
Something more elaborate:
The Documentation page has an example of how to create the following table (Showcase) as well as many other examples: