This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem on opening .XLSX file

 
Prashant Langade
Ranch Hand
Posts: 73
  • 0
  • 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?
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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
 
Paul Clapham
Sheriff
Pie
Posts: 20185
26
MySQL Database
  • 0
  • 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
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • 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.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic