How do I add a new sheet to an Excel .xlsx file using the OpenXML SDK v2.0 with c#?

Posted by Jason on Stack Overflow See other posts from Stack Overflow or by Jason
Published on 2010-03-22T20:14:34Z Indexed on 2010/03/22 20:21 UTC
Read the original article Hit count: 717

Filed under:
|
|

Just posting the solution I worked out today. See my answer below.

If you don't have the very helpful OpenXML SDK v2.0 Tool, you can find it at http://www.microsoft.com/downloads/details.aspx?FamilyID=C6E744E5-36E9-45F5-8D8C-331DF206E0D0&displaylang=en

If you know the purpose of the lines I commented with "I don't know...", please leave a comment explaining them.

© Stack Overflow or respective owner

Related posts about openxml-sdk

Related posts about c#