OpenXML Export does not work: Data.OpenXMLExportExcel operation failed. Common Language Runtime detected an invalid program

Hi,

It’s probably a library conflict with another add-in or Dynamo package.

Try disabling the add-ins and retesting. If it fails again, try removing the Dynamo packages.

Another workaround is to use Python with the OpenPyXL library.

2 Likes