aspose file tools*
The moose likes Other Open Source Projects and the fly likes Problem on opening .XLSX file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Problem on opening .XLSX file " Watch "Problem on opening .XLSX file " New topic
Author

Problem on opening .XLSX file

Prashant Langade
Ranch Hand

Joined: Jul 01, 2009
Posts: 71
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

Joined: May 14, 2008
Posts: 5836
    
    7

What does this have to do with Linux? What app are you using when doing the save?


JBoss In Action
Prashant Langade
Ranch Hand

Joined: Jul 01, 2009
Posts: 71
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

Joined: Jul 01, 2009
Posts: 71
Hi

I am saving the excel file(xls) using Microsoft excel
saveAs->save as.xlsx file
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18651
    
    8

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

Joined: May 14, 2008
Posts: 5836
    
    7

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
Marshal

Joined: Mar 22, 2005
Posts: 42273
    
  64
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.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem on opening .XLSX file