The interoperability type "Microsoft. Office. Interop. Excel. ApplicationClass" cannot be embedded ". Use the applicable interface, interop. excel
Solution
Change the embedded interoperability type of Microsoft. Office. Interop. Excel. DLL to true.
The type of MicrosoftOfficeInteropExcelApplicationClass cannot be implicitly converted to ExcelApplicationClass
Your Assembly reference is messy. To Operate excel, only Microsoft. office. interop. excel. one com component of ApplicationClass is enough. Check your reference. If there is an Excel dll, delete it. If the problem persists, we recommend that you download a ready-made Excel class library from the Internet.
Error 1 cannot embed the interoperability type "ESRIArcGISControlsControlsAddDataCommandClass" to use the applicable Interface
Select this ESRI. ArcGIS. Controls reference and set "embedded interoperability type" to False in the attribute.