https://github.com/ClosedXML/ClosedXML

@Francois Botha Francois Botha authored on 1 Jun 2017
.github Update ISSUE_TEMPLATE.md 8 years ago
ClosedXML Add unit test 8 years ago
ClosedXML_Examples Can now delete pictures 8 years ago
ClosedXML_Sandbox Unknown changes - something to do with line endings? 8 years ago
ClosedXML_Tests Add unit test 8 years ago
.editorconfig Move .editconfig file after directory structure change. 9 years ago
.gitattributes Can now delete pictures 8 years ago
.gitignore Ignore packages folder (from NuGet) 9 years ago
ClosedXML.sln Merge branch 'develop' of https://github.com/closedxml/closedxml into csharp-6-syntax 8 years ago
ClosedXML.vsmdi Project hierarchy cleanup 9 years ago
LICENSE Initial commit 9 years ago
README.md add link to wiki in README 8 years ago
appveyor.yml Merge branch 'develop' of https://github.com/closedxml/closedxml into csharp-6-syntax 8 years ago
README.md

ClosedXML

Build status

ClosedXML makes it easier for developers to create Excel 2007/2010/2013 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).

For more information see the wiki

Install ClosedXML via NuGet

If you want to include ClosedXML in your project, you can install it directly from NuGet

To install ClosedXML, run the following command in the Package Manager Console

PM> Install-Package ClosedXML

What can you do with this?

ClosedXML allows you to create Excel 2007/2010/2013 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");