Welcome to OpenXML Developer Sign in | Join | Help

How to save a doc created from a template

Last post 09-01-2008, 9:57 AM by BuciboLebo. 0 replies.
Sort Posts: Previous Next
  •  09-01-2008, 9:57 AM 3630

    How to save a doc created from a template

    I have read a workbook from a template(xltm), added rows etc and need to save it to a normal workbook file (xlsx). How do I do that.

    SpreadsheetDocument doc = SpreadsheetDocument.Open(@"\Recon.xltm",false);
    WorkbookPart wbPart = doc.WorkbookPart;


    //Manupilate all the worksheets here


    //How do I change where to save this document???????

    //Close the document
    doc.Close();


View as RSS news feed in XML