I use C# .Net 4.0 to produce an excel workbook with NPOI. When I set us-EN as culture it works' fine, instead when I change the culture to it-IT I receive the following message:
Excel found unreadable content in '[filename].xls'. Do you want to recover the contents of this workbook? If you trust the source of this workbook, click Yes.
When I click Yes, the excel file opens well. It happens with each version of excel. I use the following piece of code to change the culture and initialize the workbook:
var culture = new CultureInfo("it-IT");
Thread.CurrentThread.CurrentCulture = culture;
Thread.CurrentThread.CurrentUICulture = culture;
var xssfworkbook = new XSSFWorkbook();
Someone can help me? Thanks!