Quantcast
Channel: Java Programming Forum - Learn Java Programming - Apache POI
Viewing all articles
Browse latest Browse all 120

Unreadable content when creating xlsx file using Apache POI

$
0
0
I am getting the below message when opening a xlsx file generated through Apache POI.

"We found a problem with some content in "workbook.xlsx". Do you want to try to recover as much as we can? If you trust the source of this workbook. click Yes"

If we click yes the excel is recovered but all the validation are removed and I am getting this message "Repaired Part: /xl/worksheets/sheet1.xml part with XML error. Load error. Line 2, column 0."

Attached is the code snippet which I am using.

Can you someone help me here
Attached Files

Viewing all articles
Browse latest Browse all 120

Trending Articles