• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem on opening .XLSX file

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I am saving the excel file(xls) using Microsoft excel
saveAs->save as.xlsx file
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic