How to Enable XML Export on the Excel Developer Tab
Question details
The user needs to enable the Export command on the Excel Developer tab to export worksheet data as an XML file.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Attempting to export worksheet data to an XML format using the Export command located on the Developer tab.
- Observed behavior
- The Export command on the Developer tab is grayed out and disabled because the worksheet does not have an XML map applied to its cells.
Ensure that the Developer tab is enabled in your Excel ribbon and that you have a valid XML schema (.xsd) or a sample XML file ready to create your map.
Apply an XML Map Using the XML Source Task Pane
To activate the Export button, you must first link your worksheet cells to specific XML elements by adding and applying an XML map.
The Developer tab's Export function is specifically designed for exporting mapped XML data. It will remain disabled until Excel recognizes that specific worksheet cells are actively mapped to an imported XML schema.
Navigate to the Developer tab on the ribbon and click on 'Source' in the XML group to open the XML Source task pane on the right side of your screen.
Click the 'XML Maps...' button at the bottom of the task pane. In the dialog box that appears, click 'Add' and browse for your XML schema (.xsd) or sample XML file, then click 'OK'.
Drag and drop the XML elements from the XML Source task pane directly onto the corresponding cells or columns in your worksheet.
Once the elements are mapped and populated with data, return to the Developer tab. The 'Export' button will now be enabled. Click it to save your mapped data as an XML file.

Try WPS Office for Seamless Data Management
If you are experiencing ongoing difficulties with advanced spreadsheet tools or simply want a lighter, highly compatible office suite, consider switching to WPS Office. It provides robust tools for managing and exporting complex spreadsheet data without overwhelming your system resources.
- 1. Download and install: Visit the official WPS website to download the free WPS Office installer for your operating system.
- 2. Open your spreadsheet: Launch WPS Spreadsheet and open your existing Excel workbooks or XML data files seamlessly.
- 3. Manage and export data: Use the built-in data handling tools to filter, organize, and export your spreadsheet data efficiently.

Frequently Asked Questions
Why is the Export button grayed out on my Developer tab?
The Export button remains disabled until you apply an XML map to your worksheet. You must open the XML Source pane, add a schema, and map specific XML elements to your cells before the Export option becomes available.
What is the difference between Exporting XML and Save As XML Data?
The 'Save As XML Data' option attempts to save the entire worksheet's data into an XML format automatically. Conversely, the Developer tab's 'Export' command specifically exports only the data that is mapped to a user-defined XML schema.
How do I make the Developer tab visible in Excel?
To show the Developer tab, go to File > Options > Customize Ribbon. In the list of Main Tabs on the right side, check the box next to 'Developer' and click OK.
Can I map XML data without an explicit XML schema (.xsd)?
Yes. If you do not have an .xsd file, you can import a well-structured sample XML data file. Excel will attempt to infer the schema from this file, allowing you to create the map needed to enable the Export button.




