https://github.com/ClosedXML/ClosedXML

@Francois Botha Francois Botha authored on 4 Jan 2017
ClosedXML Check for null. 9 years ago
ClosedXML_Examples Implement 'Visible' property on named ranges. Fixes #106 9 years ago
ClosedXML_Net3.5 Merge pull request #75 from pichardoSoftware/ExcelFunctions 9 years ago
ClosedXML_Sandbox Add .editorconfig file - see http://editorconfig.org/ for its use. 9 years ago
ClosedXML_Tests Add unit test 9 years ago
.editorconfig Move .editconfig file after directory structure change. 9 years ago
.gitignore Ignore packages folder (from NuGet) 9 years ago
ClosedXML.sln Clean up project files (#26) 9 years ago
ClosedXML.vsmdi Project hierarchy cleanup 9 years ago
LICENSE Initial commit 9 years ago
README.md Add Excel 2013 support 9 years ago
appveyor.yml Update appveyor.yml 9 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).

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");