https://issues.apache.org/bugzilla/show_bug.cgi?id=53611
--- Comment #5 from Ryan <ryan.har...@teradata.com> --- (In reply to comment #4) > Getting following error for POI 3.7- > "Excel found unreadable content in 'out.xlsx'. Do you want to recover the > contents of this workbook ? If you trust the source of this workbook, click > Yes." > > I have tried searching the fix for it, please paste the fix if anyone knows. > > I have tried following remedy, but in vain- > XSSFWorkbook wb = new XSSFWorkbook(); > XSSFSheet sheet = wb.createSheet("Q"); > sheet.getCTWorksheet().getDimension().setRef("A1:K47"); Mahesh - remove setting the reference from your code, generate an .xlsx file, and make sure that the file is readable by Excel. In other words, did your file generation work until you added the reference change? Incorrect references will not cause the file to be unreadable. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org