Hi, I am an independent advisor and welcome to Microsoft Q&A.
Let me help you with this issue.
If you do not have an active subscription with Microsoft Office 365, you should uninstall it.
Press Windows + R, type:
appwiz.cpl
and press Enter.
(This opens “Programs and Features.”)
Look for Microsoft 365 Apps, Microsoft Office Click-to-Run, or similar entries.
Select it and click Uninstall.
Follow the prompts — this may take a few minutes.
When done, restart your PC.
Now, Excel files should open directly in Excel 2010.