Here this article onMiniTool Softwarewill walk you through how to fixExcel has run into an error.
However, the error Excel has run into an error will prevent you from opening Excel files.
Now, you could try the approaches below to remove the error.

How to Fix Excel Has Run Into an Error Windows
Fix 1.
Press theWindows + Rkey combination on your keyboard to bring up the Run window.
In the Run box, typeexcel /safeand clickOK.
![]()
After that, a new Excel file will open with all add-ins disabled.
Fix 2.
To rule out this cause, you might fire off the Program Compatibility Troubleshooter.

This solution is more suitable for users using older versions of Windows such as Windows 7/Vista/XP.
In the Windows search box, typeRun programs made for previous versions of Windows, then press it.
When you see the following window, clickNextto continue.

SelectExcelfrom the program list and clickNext.
Excel not responding when printing?
How to fix Excel not responding without losing data?
![]()
it’s possible for you to read this post to get the answers.
Fix 3.
Windows enables you torepair Officewithout downloading other repair applications.

Right-click theStartbutton on your taskbar, then click theApps and Featuresoption.
Find Microsoft Office from the program list, then click it and hitModify.
In the new window, chooseQuick RepairorOnline Repairbased on your needs.
Fix 4.
Reinstall Office
The last way to address the Excel has run into an error issue is to reinstall Office.
it’s advisable to download and roll out the latest version of Office for better performance.
Hope the methods above can help you restore Excel to a normal state.