Writing to specific cells in an Excel spreadsheet without using Excel?

I would like to write to an Excel spreadsheet on a server on which Excel is not installed. Therefore, Excel automation is not possible. I also need to write to specific cells using .NET. Is it possible and how? Can I use an ODBC driver to insert data into specific cells in a worksheet? Without the use of expensive third-party libraries.

+1
excel
source share
2 answers

I have successfully used the following open source projects:

  • ExcelPackage for OOXML Formats (Office 2007)

  • NPOI for .XLS format (Office 2003)

Take a look at my blog posts. They show you what you are looking for:

Creating Excel.XLS and .XLSX Tables in C #

NPOI with Excel spreadsheet and dynamic chart

+1
source share

There is also Koogra:

http://sourceforge.net/projects/koogra/

This library reads an Excel file in native format (BIFF), also works with XSLX format.

0
source share

All Articles