It's worked for me. Thank you for your recommend. Please repair your Excel Software. Good lucks.
Unable to cast COM object of type 'Microsoft.Office.Interop.Excel.ApplicationClass'
Hi
I've this C# application which opens excel file and updated another excel file. The application developed in Visual studio 2005 and Office 2016.
I've recently uninstalled Office 2016 and installed Office 365. Since then " Unable to cast COM object of type 'Microsoft.Office.Interop.Excel.ApplicationClass' " an error is generated (Image attached)
I've searched web but didn't get any idea on how to solve this error???
Developer technologies | C#
7 answers
Sort by: Most helpful
-
-
Anonymous
2024-07-25T15:20:07.0166667+00:00 Has anyone else had this problem and the Office repair did not work. We have tried this and it works for a few days maybe weeks and then not anymore.