This project has moved. For the latest updates, please go here.

Opening Exported Google Spreadsheet and calling Save or SaveAs results in weird formatting

Sep 18, 2013 at 7:34 PM
When I export any Google Spreadsheet as xlsx and then open with EPPlus and call the Save or SaveAs method, it causes all data (rows, column headers, etc.) in the xlsx file to become strikethrough, bold, and italicized.

Here is the sample code I've used most recently.
using (var pck = new ExcelPackage(new FileInfo("exportedGoogleSpreadsheet.xlsx")))
    pck.SaveAs(new FileInfo("output.xlsx"));
I currently have code that will download a google spreadsheet to a stream, then use EPPlus to add a password before saving to disk, since I wanted to avoid creating an insecure file on the disk if at all possible. If you notice that I'm doing anything wrong, please let me know! Thanks a bunch.