Error: Exception from HRESULT: 0x80010100

Hello,

Please help me fix this issue

Execute Macro: Unable to cast COM object of type ‘System.__ComObject’ to interface type ‘Microsoft.Office.Interop.Excel._Workbook’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{000208DA-0000-0000-C000-000000000046}’ failed due to the following error: System call failed. (Exception from HRESULT: 0x80010100 (RPC_E_SYS_CALL_FAILED)).

Hi @prititit
This is some issue with excel actvities i think so (mostly related with vba or macro)

First check whther the macro is working fine or not , or check whether the filepath to file is correctly specified

Hello @prititit

Every time I manually run the macro, it works fine.

But if I have to run my bot and execute the macro, that error that I’ve attached is showing

May be excel activities would be conflicting

try to downgraade the excel activities version and try again