Unable to create Excel based automation in Windows 11 - Office 10

Hi,

I am facing a set up problem with Excel use in Windows 11 server. The help text is also not useful. I ran a Office repair, still it does not help.

Regards,
Srikanta
8433989231

Hi @Srikanta_Mukherjee ,

Would it be possible to provide us with more information to help us investigate this further?

  • What is triggering this error?
  • What is the full error message?
  • What happens when running the Office Repair tool?

Thanks,
Raluca

Hi,

Getting this error …

  1. When Use Excel File is employed and automation is run.

  2. Error opening workbook. If Excel is installed, run the ‘Repair Tool for Microsoft Office Interop’ from the Tools tab on the Home screen.
    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)).

  3. Office Repair tool is not available directly on the system. Please share know-how.

Regards,
Srikanta

In studioX under Tools you have the Office repair tool. Can you give it a try?
also, is office activated?

Hey @Srikanta_Mukherjee ,

We have a guide on troubleshooting the Excel add in which I’ve linked below:

I also wanted to check, what version StudioX and Excel package are you using? Additionally, if you add an activity in the Use Excel File scope, are you be able to use Indicate in Excel from the Plus sign?

Thanks,
Raluca

This topic was automatically closed after 10 days. New replies are no longer allowed.