This project has moved and is read-only. For the latest updates, please go here.

SaveAs Issue

Mar 29, 2011 at 1:12 PM

Hi, i am new to this openXML. i was tryin out the sample code  from documentation and got stuckup with saving the xlsx file.My issue is whenever  i open any existing .xlsx file and try to add something  and do  for example -  workbook.SaveAS("NewExcelFile.xlsx");  the .xlsx file gets created but wenn i go and open it  where it is saved it shows me Input/Output error. Inshort  my new .xlsx  file gets corrupted.So please could u suggest me what and where is the issue. I tried the code from Loading and Modifying Files section of  Documentation.

Mar 29, 2011 at 4:59 PM

Please create an entry on the Issue Tracker tab and attach the file you're opening.