[Help] Excel functions not working

I'm trying to run open spreadsheet (the file does exists and works fine if opened manualy) but the attached message pops up saying that it couldn't find the registry

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 QueryInterface call on the COM component for the interface with IID '{000208D5-0000-0000-C000-000000000046}' failed due to the following error: Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)).

An error occurred at line number 1 of Task 'excel troubleshoot'. Open the Task in Workbench to view action at line number 1.

Has anyone had this problem before?


  • Problem solved! I downloaded and ran Processmonitor to find where this registries where located. Inside the {000208D5-0000-0000-C000-000000000046}/typelib you could see it refrenced {00020813-0000-0000-C000-000000000046} so i went to this library through HKEY_CLASSES_ROOT\TypeLib{00020813-0000-0000-C000-000000000046} and saw that there where 2 folders: 1.7 and 1.9. I read in other forums that deleating the newer vesion (1.9 in my case) would fix the problem and it did.

Sign In or Register to comment.