in my c# program, i try to use wrtie something to excel. i find a method on the internet, using Microsoft.Office.Interop.Excel class. but when i use Microsoft.Office.Interop.Excel,it said that no Interop class found. i have already had Microsoft Office 12.0 Object Library reference in my project
Asked
Active
Viewed 8,019 times
3
-
Could you show your code please? – Nick Jul 26 '11 at 03:31
1 Answers
1
You need to add Microsoft.Office.Interop.Excel.dll
to your project. See the example http://msdn.microsoft.com/en-us/library/dd264733.aspx

Jayantha Lal Sirisena
- 21,216
- 11
- 71
- 92