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'
Venkata Ramana Nori
36
Reputation points
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???