The error message may also pop up when the Excel workbook gets damaged or corrupted due to sudden power failure, system crash, malware/virus intrusion, or MS Excel problem caused by an incompatible add-in or program file.
Try these methods to troubleshoot and resolve We’re sorry, but Excel has run into an error.
Method 1: Disable Compatibility Mode
- Right-click on Excel (.exe) file and choose Properties. You can find Excel (.exe) file at the following location.
- Click on Compatibility and then uncheck all the boxes. Click OK to save the changes
Now try to open MS Excel or XLS/XLSX file and check if the workbook opens. If it doesn’t, follow the next method.
Method 2: Repair MS Office Installation
- Open Control Panel and click on ‘Uninstall a program
- Select MS Office from the list and then click on ‘Change’
- Choose the ‘Repair’ option and then proceed with the wizard to repair the MS Office installation
If this doesn’t fix the issue, you may need to remove all MS Office files and registry keys from the system. Then fresh install the MS office.
You can follow this guide on Microsoft support to clean and uninstall MS Office.
https://support.microsoft.com/en-us/office/uninstall-office-from-a-pc-9dd49b83-264a-477a-8fcc-2fdf5dbf61d8?ui=en-us&rs=en-us&ad=us
Best Regards,
Adi