Fix Office 2016 XML Files Opening in Internet Explorer Instead of Excel
Question details
The user needs ERP-exported XML files to open in Excel 2016 consistently, including when Excel is already running.

- Product
- Microsoft Excel 2016 and Office 2016 XML handler
- Device & OS
- not provided
- Scenario
- An ERP application exports XML files intended to open in Excel through an Office XML handler.
- Observed behavior
- On some computers, the handler works when Excel is closed, but Internet Explorer displays the XML page when Excel is already running.
Identify an affected computer and, if possible, a computer where the same ERP export works. Note whether the XML is opened from a company server or a local file, and keep Excel open for the initial test.
Compare XML handling and Excel configurations
Use a working computer as a reference to isolate differences in the file, launch method, Office installation, or add-ins.
Open the same ERP export with Excel already running, then close Excel and open the export again. Record whether Internet Explorer displays the XML in each case.
Check whether the ERP link opens the XML directly from a company server or downloads a file. If available, save a copy locally and use Excel's File > Open to test it separately.
On each computer, open Windows Settings and search for Default apps. Find the default app for the .xml extension and compare the assignments. Change it only if appropriate, because other applications may also use XML files.
In Excel, open File > Account > About Excel and compare the Office version and 32-bit or 64-bit installation on the affected and working computers.
In Excel, choose File > Open and select the saved XML file. If Excel cannot open it as expected, ask the ERP administrator to compare the export format and server response with a working export.

Test Excel add-ins and repair Office 2016
Use this approach if the export works on another computer or the problem appears specific to the affected Office installation.
Work with Spreadsheets in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with Office files. It can help you migrate everyday spreadsheet work, but it does not repair the Office 2016 XML handler or change how an ERP link opens in Internet Explorer.

Frequently Asked Questions
Why does Internet Explorer display the XML instead of opening Excel?
The result may depend on how the ERP server delivers the XML, the handler registration, or the local Office configuration. Compare the same server link and a saved local copy on a working computer and an affected computer.
How do I check which program opens local XML files?
Open Windows Settings, search for Default apps, and find the assignment for the .xml extension. Changing it can affect other applications that use XML, so check with your administrator first.
How can I tell whether an Excel add-in is involved?
Close Excel, press Windows+R, enter excel /safe, and select OK. With Excel in Safe Mode, retry the ERP export. If the result changes, review add-ins under File > Options > Add-ins.
Will repairing Office fix the ERP server link?
Office repair can address some installation or registration problems, but it may not fix the ERP server's response or export format. Use Control Panel > Programs and Features > Microsoft Office 2016 > Change to start a repair, then retest.
Can every XML file be opened as an Excel spreadsheet?
No. XML can contain many kinds of data, and not every XML structure is suitable for Excel. Try File > Open with a saved copy and ask the ERP administrator whether the export is intended for Excel.




