This one’s almost never about the file — it’s Studio failing to talk to Excel over COM/Interop. The file being there is fine, Interop is what’s broken.
First thing to try: Studio → Home → Tools → Repair Tool for Microsoft Office Interop. Close Studio, run the repair, reopen. That clears it most of the time.
If it doesn’t, check which Excel you actually have. Excel → File → Account → About Excel. If it says Microsoft Store version, that’s your problem — the Store build of Office doesn’t expose Interop at all, and no repair will change that. You’d need the normal desktop (Click-to-Run/MSI) install.
Couple of other things worth ruling out:
Open Excel manually once and dismiss anything it throws at you — first-run wizard, activation prompt, “make Excel your default” popup. Any of those sitting there will block automation without telling you.
If PR_TestData.xlsx came from email, Teams, or a download, right-click → Properties → tick Unblock. Blocked files open in Protected View and Interop won’t touch them.
Task Manager, kill any leftover EXCEL.EXE. And make sure Studio isn’t running as Admin — elevation mismatch breaks COM silently.
On your questions:
1 & 2 — Yes, it’s Interop. Use Excel File drives the actual Excel app through COM, so it fails before it ever reaches your file. Nothing wrong with your workflow.
3 — Workbook activities will work, yes. They read the .xlsx directly and don’t need Excel installed. But you lose macros, formula recalculation, and formatting. If you’re just pulling data out, go for it. If the sheet has formulas you depend on, stick with Excel activities and fix Interop properly.
4 — Nothing extra to install. UiPath.Excel.Activities 3.6.1 is fine. It’s the Office install on the machine that matters.
If the repair tool doesn’t sort it, share your Excel version and build from that About screen (and whether it’s 32 or 64-bit) — that’ll tell us quickly if it’s the Store version issue.
I faced a similar issue before. This error is usually related to the Excel/Office Interop setup, rather than the file path.
First, try running the Microsoft Office Interop Repair Tool and then restart the machine. Also check that the Excel file opens normally when you open it manually.
If it still fails, try updating UiPath.Excel.Activities to a newer compatible version. You can also test with Workbook activities if you don’t need Excel to be installed or don’t require Excel-specific features.
I would start with the Interop repair first, since the error message specifically points to it.
From the screenshot, the project is using UiPath.Excel.Activities 3.6.1, and the error is happening directly at Use Excel File.
I’d suggest checking the Office Interop installation/repair first, because the error specifically points to that. Also make sure the workbook can be opened normally in Excel.
If Interop repair doesn’t help, try updating UiPath.Excel.Activities to a compatible newer version and test again. Since this is a Windows project, Workbook activities can also be tested if you don’t need Excel application features.
One more thing: the screenshot shows the Excel file inside the project, so the file path itself doesn’t look like the first thing I’d suspect.