Export Mapping XML without load DLL

I need to export data from a mapping of an Excel Workbook (without load the smart document solution (made with VSTO2).

These datas are not in cache.

If i open the workbook and call the export of the XmlMaps the smart document load...
(MyWorkbook.XmlMaps("mymap").Export "c:\test.xml")

Any suggestion




Answer this question

Export Mapping XML without load DLL

  • jheddings

    My understanding is that you automate Excel to open a workbook containing VSTO customization and you want to prevetn the customization from loading.

    you can use Application.AutomationSecurity =msoAutomationSecurityForceDisable
    to prevent Excel customization from loading.



  • Matt Winkler

    tanks a lots!

  • Export Mapping XML without load DLL