Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Security Note: An XML map and its data source information are saved with the workbook, not with a specific worksheet. A malicious user could view this potentially sensitive map information by using a Visual Basic for Applications (VBA) macro. Furthermore, if you save your workbook as a Macro-enabled Excel Open XML Format File, this map information can be viewed through Microsoft Notepad or through another text-editing program.

Delete the data source definition of the XML map from the workbook

If you want to keep using the map information but remove the potentially sensitive data source information, you can delete the data source definition of the XML schema from the workbook. In this case, you can still export the XML data.

This procedure permanently removes the current data source definition from the XML map.

  1. Click a mapped cell to select the XML map that you want.

  2. If the Developer tab is not available, do the following to display it:

    1. On the File tab, click Options > Customize Ribbon.

    2. Select the Developer check box.

  3. On the Developer tab, click Map Properties.

    Developer tab

  4. In the XML Map Properties dialog box, under Data source, clear the Save data source definition in workbook check box.

    This option is selected by default. Clearing this option does not delete any data from the worksheet.

Important: The data source definition contains connection information about the imported XML data. Removing this information prevents others from viewing the information, but you can still export the mapped data to an XML file. However, if you reimport the XML data file, the data source definition is once again saved with the file.

Delete an XML map from a workbook

If you delete a worksheet before deleting an XML map, the map information, about the data sources and possibly other sensitive information, is still saved in the workbook. If you are updating the workbook to remove sensitive information, make sure that you delete the XML map before you delete the worksheet so that the map information is permanently removed from the workbook.

  1. If the Developer tab is not available, do the following to display it:

    1. On the File tab, click Options > Customize Ribbon.

    2. Select the Developer check box.

  2. On the Developer tab, in the XML group, click Source.

    Developer tab

  3. In the XML Source task pane, click XML Maps.

    The XML Maps dialog box is displayed.

    Maps dialog box

  4. Select the XML map that you want to delete.

  5. Click Delete, and then click OK.

Note: Deleting an XML map removes the XML map only and does not remove any data that the XML map is currently mapped to.

Need more help?

You can always ask an expert in the Excel Tech Community or get support in Communities.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×