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
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