I\'m quite confused with what are the necessary tools for VSTO develpment. Specifically I want to manipulate Excel 2003/2007 documents programmatically. I did quite a lot of
Yeah, it can get confusing, especially given the skip-level naming conventions, etc. Essentially, you'll need:
A couple of tips:
There are some sites that you should take a look at:
Finally, to save the best for last, this is the book I read when I was just starting out and it was very helpful: VSTO for Mere Mortals(TM): A VBA Developer's Guide to Microsoft Office Development Using Visual Studio 2005 Tools for Office
SpreadsheetGear for .NET is an Excel compatible spreadsheet component for .NET which will work with Visual Studio Express editions, requires .NET 2.0 or higher, does not require Office or Excel to be installed, and does permit royalty free distribution to an unlimited number of client and / or server computers.
You can see live samples here and download the free trial here.
Disclaimer: I own SpreadsheetGear LLC
You can create excel with Express Edition using this Excel .NET component. It doesn't require VSTO, ADO or MS Excel automation.
Excel Jetcell .NET component allows to read write excel spreadsheet. Here you can find many Excel VB.NET and C# examples. For example see VB.NET code to create excel spreadsheet from array:
Imports DTG.Spreadsheet
...
Dim WBook = New ExcelWorkbook()
WBook.Worksheets.Add("ArrayValues")
For i As Short = 0 To 10
For j As Short = 0 To 10
WBook.Worksheets(0).Cells[i,j].Value = arr(i,j)
j = j + 1
Next j
i = i + 1
Next i
WBook.WriteXLSX("ExcelSpreadsheet.xlsx")