Having "Use Excel File Error"

I am trying to open Excel and read range. I am getting an error: Use Excel File: Error opening workbook. If Excel is installed, run the ‘Repair Tool for Microsoft Office Interop’ from the Tools tab on the Home screen. I do have excel installed and can open the excel file without any issues. I did run the “repail tool for microsft” but no help at all. I really do not want to use the workbook workaround as there are many features in excel activities that I would like to use… What could be causing this issue?

Can you try ‘End Task’ on all the excel instances opened in task manager and check again?

Hi @ymstudio1, welcome to the Community.

Can you please check if you have the following dependency & namespace imported in your project?

image

image

Best Regards.

Open cmd and type this: taskkill /f /im excel.exe
Retry after

Thank you for your reply and I apologize for the late reply. Here is what I have:

Hi @ymstudio1 ,

Could you give a try by updating all the dependency versions to the stable versions and check ?

Currently you are using preview versions on some of the Packages.