Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Problem on opening .XLSX file

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am saving.xls file as .xlsx and then trying to open it by double clicking on it.

I am getting an error message(pop-up) upon opening .xlsx file.

"Excel found unreachable content in "path of xlsx file".Do you want to recover content.."



and upon clicking yes to above error message. I am getting a list of error message saying "Excel was able to open the file by reapiring or removing the unreadable content"



Can anyone please help me?
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does this have to do with Linux? What app are you using when doing the save?
 
Prashant Langade
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

This is not related to Linux.In my project, i am using Apache POI technology to generate report templates in xls format which in turn i am saving to xlsx format.


Prashant
 
Prashant Langade
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am saving the excel file(xls) using Microsoft excel
saveAs->save as.xlsx file
 
Sheriff
Posts: 24654
58
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Prashant Langade wrote:This is not related to Linux.In my project, i am using Apache POI technology...



Aha. Not Linux. Then the Linux forum was maybe not the best choice. Let's move the thread...
 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does POI understand the xlsx format and can it save files in that format? The format of a xlsx file is vastly different from that of an xls file. You cannot simply save an xls file as xlsx and expect it to work.
 
Rancher
Posts: 43011
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Does POI understand the xlsx format and can it save files in that format?


It does, starting with version 3.5, but one needs to use the new "combined" API that recognizes both XLS and XLSX. The old API still only handles XLS.
 
On top of spaghetti all covered in cheese, there was this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!