Helping people with computers... one answer at a time.
Occasionally, Microsoft Office programs can become damaged, perhaps due to disk problems or malware. Fortunately, you can repair Microsoft Office.
When I want to open a file in Excel a dialog box appears: "PROGRAMME ERROR: EXCEL.EXE has generated errors and will be closed by Windows. You will need to restart the program."
How do I fix this?
This can happen for a number of reasons. In fact, it can happen to any of the Microsoft Office programs, including Microsoft Word, Microsoft Excel, Microsoft Outlook, and others.
Fortunately, the Microsoft Office actually has an option to help deal with situations like this.
You can repair Microsoft Office.
Fire up Control Panel, and in Add/Remove Programs or Programs and Features (depending on your version of Windows), you'll find Microsoft Office listed:
Right-click the Microsoft Office entry and click Change:
That will start the Microsoft Office Setup program.
You will likely need your original Microsoft Office installation media - either the original install CDs, DVD, or the equivalent.
Microsoft Office Setup starts with a choice of what action to take:
Make sure that Repair is selected and click Continue.
This can take some time as Office Setup validates and repairs your installation.
Eventually the repair completes:
Click Close and you may be faced with this:
Microsoft Office's repair may require that you reboot your machine for the changes made to take affect.
Repairing Microsoft Office will not repair any of your Office data files. If a document has somehow been corrupted, it's possible that this could potentially crash your Office program.
The easiest way to determine this is to open a different document or create a new document, save, and then re-open it. If that all works, then it's likely that the problem is with the specific document that you tried to open that caused the crash.
Unfortunately, there's no general purpose Microsoft Office document repair tool. The closest is ScanPST, a tool specifically for repairing Microsoft Office Outlook's PST files. Hopefully, you'll have backup copies of your important documents that haven't been corrupted.
Another possibility is a misbehaving add-on. Like many programs, Microsoft Office's tools can be extended by third-party add-ons and occasionally they are at fault. You can try uninstalling any that you're aware of or alternately, instead of performing a repair install of Office, you can uninstall it completely and reinstall. (As always, back up your data prior to doing this.)