Excel Reporting Samples

Easily create richly formatted Excel reports without Excel

Excel Reporting

With the wide adoption of Microsoft Excel and the Office Open XML standard, there is no substitute for taking advantage of the leading spreadsheet component in your Microsoft .NET Framework projects. You can use SpreadsheetGear to deliver Microsoft Excel 97-2016 reports in a variety of ways.


This sample shows how to create a new workbook, add some values, and stream it to Microsoft Excel.

This sample shows how to create a new workbook, add some values, and stream it to Microsoft Excel.

This sample shows how to create a new workbook, add values, formulas, defined names and formatting, and stream it to Microsoft Excel.

This sample shows how to create a new workbook, add some values, add a chart, format the chart, and stream it to Microsoft Excel.

This sample shows how to load a workbook containing a chart, add some values, and stream it to Microsoft Excel.

This sample shows how to load a workbook containing a chart series linked to a defined name, change the defined name range reference, and stream it to Microsoft Excel. For charts with multiple series, use Excel to set each chart series to refer to a unique defined name.

This sample shows how to load a workbook containing a chart, and use the worksheet copy routines to create multiple worksheets from one worksheet, and stream it to Microsoft Excel.

This sample shows how to create a new workbook, add a picture, and stream it to Microsoft Excel.

This sample shows how to create a new workbook, copy data from a DataTable, and stream it to Microsoft Excel.

This sample shows how to load a workbook containing a chart, insert data from a DataTable which automatically expands the chart link range, and stream it to Microsoft Excel.

This sample shows how to create a new workbook, insert data from multiple DataTables, merge this data with formatting and formulas from a template workbook, and stream it to Microsoft Excel.

This sample shows how to utilize the IRange.Copy method to dynamically copy and consolidate data from multiple workbooks.

This sample shows how to utilize various outline APIs to create a report with the ability to expand and collapse detail levels of data.