What class and method should I call to reproduce the problem ? The attached code depends on classes from the gov.nih.nci.lmp.shared package. Can you post isolated code so that I can compile and run?
Yegor On Wed, Nov 14, 2012 at 12:42 AM, margotsunshine <[email protected]> wrote: > I am receiving the following error: “Excel found unreadable content in > ‘myfile.xlsx’. Do you want to recover the contents of this workbook?” when I > open my workbook. I have read numerous posts about this error message but > the issue does not seem to be the same as the one I am having. I am able to > open it anyway and everything looks fine but I can’t release it to my users > that way. I receive the message “Repaired Records: Table from > /xl/tables/table2.xml part (Table)”. I have narrowed it down to one line > that is causing the error but I need to do what that line is doing! Maybe > someone can tell me another way to do it. I start with a template that > contains some predefined tables and charts. When I update the column headers > with a new cell value I receive the error. The setting of the table values > causes no problem. Is there some special code to update table headers? I am > simply using the XSSFCell cell.setCellValue(“column name”);' > I have attached my template and a simple java class that produces the error > if anyone is willing to look at it. > I am using the poi-3.8-20120326.jar and associated similarly dated jar > files. > I am running window xp > Thanks for your help, > Margot > Zscore_2010_template.xlsx > <http://apache-poi.1045710.n5.nabble.com/file/n5711478/Zscore_2010_template.xlsx> > Excel2010Test.java > <http://apache-poi.1045710.n5.nabble.com/file/n5711478/Excel2010Test.java> > Excel2010Workbook.java > <http://apache-poi.1045710.n5.nabble.com/file/n5711478/Excel2010Workbook.java> > > > > -- > View this message in context: > http://apache-poi.1045710.n5.nabble.com/Excel-2010-error-writing-new-header-in-existing-table-Excel-found-unreadable-content-in-tp5711478.html > Sent from the POI - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
