1

I am using the OpenXML SDK to manipulate my Excel files.

I'd like to store some custom XML data in the xlsx file (not in the sheet cells) in a way that survives a roundtrip through Excel.

Is it possible to do this with the CustomXmlPart class? Or some other class? If so, how?

Todd Main
  • 28,951
  • 11
  • 82
  • 146
user380719
  • 9,663
  • 15
  • 54
  • 89

1 Answers1

1

CustomXmlParts are one way to do it. But here's another set of ways: How can I embed any file type into Microsoft Word using OpenXml 2.0 (Word/Excel = same concept)

Community
  • 1
  • 1
Todd Main
  • 28,951
  • 11
  • 82
  • 146