I'd like to open EXCEL 2003 from a .NET 3.5 application and manipulate each cell in the Excel sheet. Any one does that?
+1
A:
Not sure what you mean by "manipulate". If you want to transfer data to the cells, this Microsoft article should get you going:
Buggieboy
2010-04-02 00:15:25
That is not .Net and will barely help him.
SLaks
2010-04-02 00:16:11
Sorry. You are correct. I updated the link to refer to an ADO.NET article.
Buggieboy
2010-04-02 00:23:22
This answer should be SO automated response for any question that has the keywords Excel and Cell.
AMissico
2010-04-02 01:13:04
A:
There are a number of ways to do this.
You can use COM Interop to control Excel and open and manipulate a spreadsheet. This should be avoided where possible.
You can use OleDb to open an Excel spreadsheet as an SQL database. This will be fast and efficient, but might not be powerful enough for you. Example
You can buy a third-party Excel component, from vendors like Aspose or SyncFusion. This will cost money.
SLaks
2010-04-02 00:15:44