Search Wiki:
ExcelPackage

ExcelPackage: The convenient way to create SpreadsheetML OOXML on the server


ExcelPackage provides server-side generation of Excel 2007 spreadsheets.
It is a set of classes and wrappers around the .NET 3.0 System.IO.Packaging API and the new Office Open XML file format. It extracts away the complexity of dealing with the individual XML components making it real easy to create sophisticated spreadsheets on the server.

Overview

The adoption of XML as the native file format for Excel 2007 has opened up a whole host of new possibilities. Now for the first time we can create native Excel files on the server using standard tools.

However, the new Office Open XML standard is so new there are precious few good code samples. This Codeplex project aims to correct the situation by providing a flexible set of open source class libraries that you can use to create Excel spreadsheets on the server.

Where do you start?

If you are considering creating Excel spreadsheets on the server, then start by downloading and running the code samples. These provide a tutorial on how to use the ExcelPackage assembly to dynamically create Excel spreadsheets on the server. The three samples demonstrate:
Below is a screenshot of the output from the final code sample. Pretty impressive for 50 lines of code!

Report created by Sample 3

Frequently Asked Questions (FAQ)


Documentation


Hints and Tips

Last edited Jan 25 2007 at 1:24 AM  by JohnTunnicliffe, version 13
Comments
Also available: 1 review for current release.

Mat wrote  Oct 13 2007 at 7:22 PM  
Hi, You guys are doing a great job. Keep doing what you are doing!
My question is does ExcelPackage process .xslm workbook as well?

thx -Mat-

wildert wrote  Oct 20 2007 at 5:00 AM  
Any interest in taking this to the next level, making a class library similar to the Excel Com Library? http://codeplex.com/Excel2007SDK

aix59 wrote  Apr 5 at 6:30 AM  
Any ETA on styles (e.g. borders, fonts, colors, etc)? I'd be happy to contribute but the Office XML formats aren't my area of expertise.

adron wrote  Aug 7 at 10:05 PM  
I'd definitely be interested in helping out. Contact/add me to the developers list and I'll download and see what I could/can contribute.

Updating...