Excel 2007 (xlsx) Create New WorkSheet in C#
Posted on 2007-12-04
I'm using the SpreadsheetDocument object to create a spreadsheet, and everything is working fine. The only stumbling block I'm having is I can't seem to create new Worksheets. I can retrieve a list of all worksheets in the system using XPath, but as my XML skills are limited, I'd like some pointers on how to create new Sheets in the Workbook from scratch.