How to open an excel file
Steve Abaffy <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.winforms |
|---|---|
| Message-ID | <000f01c76a57$21669b20$6433d160$@biz> |
Hello,
I have Microsoft.Office.Interop.Excel add as a Reference as well as
Microsoft.Office.Core and I have the following line of code:
private Microsoft.Office.Interop.Excel._Application ExcelObj;
ExcelObj = new Microsoft.Office.Interop.Excel._Application();
And I get the error
Cannot create an instance of the abstract class or interface
Microsoft.Office.Interop.Excel._Application
What am I doing wrong???