C#2008 and Excel 2003 Problem

R

Renjith

Hi there,

I am using C# 2008 to create Excel 2003 for my application.
Previously I had used Excel 2007 but then my target machine dont have 2007
version of excel and hence I need to change back to excel 2003. But I am
getting an error if I do that.
The message is "Error: Unable to cast COM object of type
'Microsoft.Office.Interop.Excel.ApplicationClass' to interface type
'Microsoft.Office.Interop.Excel._Application'. This operation failed because
the QeuryInterface call on the COM component for the interface with IID
'{000208d5-0000-0000-c000-000000000046} failed due to the following error: No
such interface supported {Exception from HRESULT: 0x80004002 (E_nointerface))
Line Microsoft.Office.Interop.Excel"

Can anyone help ?

Thanks in advance
regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top