Possible solution to corrupt excel file

Oct 3, 2012 at 3:20 PM

We have found a possible cause for corrupt excel file message, removing this line from our code:

pck.Workbook.Properties.LastPrinted = DateTime.Now.ToUniversalTime().ToString(CultureInfo.InvariantCulture);

Hope this helps someone..

Marco