Can I process Excel BIFF5 files, or simply abandon Apache POI?

To the experienced:
I am totally new to processing Microsoft Excel files using Java, and embarked on Apache POI. Now it seems I could be completely out of luck because of the Excel files I am to process.
Now looking back, I realize that what I did with the Excel file I first received (a .xls file) was opening it in Excel 2007 and clicked the Save button. And it was all OK learning POI by processing that file. Now after all the work I have done with that file, I trashed it and got a copy of the original Excel file - as is, without first loading it in Excel 2007 and saving it - and run my java program on it. And I got the following error message talking about BIFF5 and BIFF8:
C:\Oracle\Middleware\jdk160_18\bin\javaw.exe -client -classpath
C:\apps11113\JavaExercise\.adf;C:\apps11113\JavaExercise\Basic\classes;C:\java_lib\poi-3.7\poi-3.7-20101029.jar
-Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks learnjava.ExcelTest2
Exception in thread "main" org.apache.poi.hssf.OldExcelFormatException: The supplied spreadsheet seems to be Excel 5.0/7.0 (BIFF5) format.
POI only supports BIFF8 format (from Excel versions 97/2000/XP/2003)
My program, when put into production, will run on schedule and unattended, and will have to process the file as is. Am I out of luck and have to look for some other APIs that support BIFF5? Are there such APIs?
Many thanks for helping!
Newman

J. Newman wrote:
Exception in thread "main" org.apache.poi.hssf.OldExcelFormatException: The supplied spreadsheet seems to be Excel 5.0/7.0 (BIFF5) format.
POI only supports BIFF8 format (from Excel versions 97/2000/XP/2003)
My program, when put into production, will run on schedule and unattended, and will have to process the file as is. Am I out of luck and have to look for some other APIs that support BIFF5? Are there such APIs?I'm pretty sure that OpenOffice will. One test you could do is try to open your 5.0 file in OpenOffice, save it as an Excel 97/2000 file (+don't+ delete your original :-) ) and check to make sure that everything is working as expected, and then see if your POI program can process that.
If it works, you could try downloading the OpenOffice SDK. It's also possible that something like jodConverter could do the job for you (it looks a lot easier to use), but you'd need to check their website.
Winston

Similar Messages

  • Can't send Excel 2007 File via Send To Email Option after Acrobat Install

    Normally, you can send an Excel 2007 file via email to someone by going to the Send option on the Excel file menu and choosing "Email." This will email an actual copy of the Excel 2007 file. However, since installing Adobe Acrobat  9 pro on my computer, this option, as well as the option to send to XPS are gone -- the only email option I have on that menu is to convert the file to a PDF and email it.
    It seems to me that Acrobat should ADD options to menus but not remove any! Does anyone know how I can get those missing options (especially the one to email the actual file itself) back? I've tried Googling up a solution, but to no avail so far.
    Thanks, in advance, for any help!
    Laura

    Thanks for taking the time to respond, Aditya!
    I saw that MS support article when I was trying to solve this issue on my own, but the solutions it proposes won't work for me -- I can't set Outlook as my email client (this is a work computer and we use Lotus Notes) and I can't muck around in the registry (again, this is a work computer). I know I can attach the Excel via the attach command in the email client, but the main thing is I don't understand why Acrobat has removed that option from the Excel menu. Also, it removed the Send to XPS option (which I don't really care about, but it bothers me because it shouldn't be deleting anything)!
    I even tried adding the Email command to the Quick Access Toolbar in Excel -- it let me add the button, but, when I click it, absolutely nothing happens.

  • How can I open excel pdf files

    How can I open excel pdf files

    Hi mmart1957,
    Do you have Excel files, PDF files, or PDF files that have been converted to Excel? If you're working with PDF files, you'll need either Reader or Acrobat to open the files. If you have a converted Excel file, then you'll need Excel to open it.
    Best,
    Sara

  • HOW CAN YOU PROCESS AN AUDIO FILE IN LABVIEW?I NEED TO TIME-PITCH SCALE IT

    hello guys.
    can you insert an audio file into labview for further processing?i need to get an audio file (stored on my computer) and further process it for time-pitch scale.does anybody know how?any pointers will much be appreciated.
    regards
    alex

    hi there
    open the "Graphics & Sound" palette from the functions menu to use vis for reading/Writing wavefiles, search the examples shipped with LV for first steps. use the VIs in the "Analyze" functions palette to modify the data.
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • Can I process nikon d750 files in CS6?

    Is it possible to process nef files from a nikon d750 in photoshop cs6? I currently have cs5 and need to upgrade

    Yes you can. Simply update your Camera Raw to the latest version: Camera Raw plug-in installer
    Benjamin

  • Can't import Excel 2008 files into Numbers '09-Fails/crashes...

    ...during attempt.
    Anyone else having this problem & is there a fix/solution?

    ...during attempt.
    Anyone else having this problem & is there a fix/solution?

  • Can I process rx100m2 raw files in cs6?

    I'm considering purchasing a new camera, Sony DSC-RX100M II, and I'm concerned with it's compatibility with my version of Photoshop (i.e. cs6) and Camera Raw (i.e. 7.0). I like the versions I'm using now and would like to know whether I have any options outside of upgrading to a subscription version.

    No problem.  Just make sure you have all the updates
    http://helpx.adobe.com/creative-suite/kb/camera-raw-plug-supported-cameras.html

  • How can I process a Sony A7 RAW file into Photoshop CS5.

    How can I process a Sony A7 RAW file into Photoshop CS5.  I tried the file DNG converter 8.3, but it did not work.  I was able to download it, but upon reading the memory chip from Photoshop CS5, it reads the jpg files fine, but not the RAW files.  I thought the DNG converter 8.3 was the right file, but apparently it is not.  Perhaps I need to do something in Photoshop CS5 to initiate it, or place it in a particular directory.. Please help.

    First of all, you should have used the Adobe DNG Converter 8.6, not an old, obsolete version.  Always use the very latest version.  8.3 was simply the first ACR version to support your camera model, that's all.
    Note that the DNG Converter works only on folders, not on individual raw files.  Put all your Sony raw files in a folder and run the Converter on that folder containing the raw files.
    I have absolutely no clue as to what on Earth you mean by : "upon reading the memory chip from Photoshop CS5".
    You also need to make sure that CS5 is fully updated.  You cannot rely on the highly and notoriously unreliable Adobe auto updater to tell whether you have the latest update installed or not.
    I still have no idea what platform you are on, Mac or Windows. Please read the following for next time:
    BOILERPLATE TEXT:
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them, etc.,
    someone may be able to help you (not necessarily this poster).
    A screen shot could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Some users can't open Excel files. It is trying to open it in Internet Explorer "An error has occurred. Please try again."

    I have some users in my company that can't open Excel files from any document libraries on SharePoint 2010. The receive the error message "An error occurred. Please try again."  We don't currently use the Excel calculations services. When
    a user opens an excel file they are prompted to either Read Only or Edit.
    This affects less than 5 people in a large company.  They have the Full Control permissions and have been able to open the files previously.  There has been no changes made to the server either.  I can't find anything that points to this in the
    event viewer. 
    It doesn't matter if which computer that they try to open this up from either.   All computers are Windows 7 Professional with IE 9 and Office 2010 x64.   
    I can't find anything that points specifically to this exact error. None of the excel files contain pivot tables.    This one has me stumped.

    I would make sure no one has open on machine / locked on machine (Would assume you checked this, but wanted to add)
    Also would have assumed you restarted the machines (:))
    Make sure the file security did not change (check to ensure no one changed the sercuity of the excel)
    Make sure the version of excel is the same (Changing from 2010 back to 2007 affects the file, etc.. on convert) that no one converted and saved thus causing error in file.
    Can they open other excel files?
    It sounds like the excel file it self has changed if you cannot see issue in SharePoint logs.
    If it is all SharePoint excel files - try deleting one persons access and readding them to see if that helps.
    SharePoint has issues ;)

  • How can i create  excel sheet with multiple tabs using utl file?

    how can i create excel sheet with multiple tabs using utl file?
    any one help me?

    Jaggy,
    I gave you the most suitable answer on your own thread yesterday
    Re: How to Generating Excel workbook with multiple worksheets

  • Can't process multiple files on one of three catalogs

    After getting straightened out about getting my catalogs in order, which I've done, I've run into another problem. I have three catalogs one for People, one for Things and one I call Workplace where I try out things that are new to me so I don't mess up my main catalogs.
    I've straightened out the files in my Things catalog. I have one catagory that contains images of autograph book pages from the late 1800s. Those scans were done in JPEG some time ago. I've tried using multiple processing to change these 55 images to psd in the original file to be consistent with the rest of the catalog. Each time the process fails.
    In order to see what the problem might be I have copied the catagory file into both of my other catalogs and have been able to process the catagory file back into itself as psd. I have also created another small file in the Things catalog and tried to convert it and had the same result. The warning info box that appears when copying back into the same file states that the original files will be overwritten. The psd files do not overwrite the jpg files. They are added to the original file. That may be the way it is intended to be. That's not a real problem.
    The real question is why can't I process multiple files in the original catalog. I have looked at the error file and, although I don't know much about most of it, I found the following in the first part of the file.
    crash exception="EXCEPTION_ACCESS_VIOLATION"
    I run XP SP3 and PSE 8. I am a single user with administrator rights. I find no mention of a  permission filter in the PSE 8 program.
    I'm stuck until I solve this problem and I need help getting it done. Any suggestions or information will be greatly appreciated.
    Message was edited by: Minocq

    One thing to try : instead of using 'process multiple files', can you use the 'export' feature in the Organizer to export the jpegs of that category in psd format into a new folder ?

  • Can i use pandrive with iPad, i want to access word, excel, pdf files on iPad via pandrive

    Can i use pandrive with iPad, i want to access word, excel, pdf files on iPad via pandrive

    You cannot use pendriver.
    Have a look at the following:
    http://itunes.apple.com/sg/app/quickoffice-pro-hd-edit-office/id376212724?mt=8&l s=1
    http://itunes.apple.com/sg/app/office2-hd/id364361728?mt=8&ls=1
    http://itunes.apple.com/sg/app/documents-to-go-premium-office/id317107309?mt=8&l s=1
    http://itunes.apple.com/sg/app/polaris-office/id513188658?mt=8&ls=1

  • Can't open Excel or Word files on share drive (SMB or AFP) after 10.9.2

    After updating to Mavericks OS 10.9.2, I can no longer open excel or word files on my company file share.  I receive the error:
    'FILEPATH' could not be found.
    Ckeck the spelling of the file name, and verify that the file location is correct.
    If you are trying to open the file from your list of most frequently used files on the File menu, make sure that the file has not been renamed, moved, or deleted.
    I am able to open files on my lcaol hard drive, and other external USB Flash drives.  Word present's a slightly different error, with the same theme (filename).
    I've tried rebooting both the client and server (both running 10.9.2).  Was successful opening files when booting the client into safe mode.  Any ideas?
    Bill

    I don't know if this will help but I had a similar problem that started yesterday. I have two macs.  Once can't open MS Office files from the other Mac but can open Office files on each Mac. Drove me nuts for about 2 hours today - on the phone with Apple twice and Microsoft once.  Finally found a similar post from 2007 that suggested to turn off and on file sharing by unchecking the "Share files and folders using AFP", on both computers and rebooting. That fixed it. 
    Funny thing, it was only with Office files I created since updating the software last week. Old Office files opened fine. 

  • ITunes 11.0.4. can't locate thousands of files (they are still on the harddisk though) - is there a way to simply relocate them (without having to do it for each individual song which would take forever)?

    After updating to iTunes 11.0.4.,
    iTunes 11.0.4. can't locate thousands of files (they are still on the harddisk though).
    is there a way to simply relocate them (without having to do it manually for each individual song which would take forever)?

    Are these "thousands of files" in an iTunes library that simply cannot be found?
    If so, assuming you know exactly where they are, hold the "Option" key while opening iTunes from your dock.  You will then be given a "Choose Library" option.  Choose it and point to your library.

  • Can't combine Excel files in Adobe Pro

    I can currently convert an .xlsx file within Excel to a .pdf with no issues. However, I need to be able to combine multiple files in Adobe, a large portion of which are excel files. I was able to do this without any issues until a few days ago. Now I can no longer see Excel files listed as supported when trying to combine.
    I've tried repairing the install, but that didn't help.

    In which dialog are you not seeing the Excel file type? If you type *.* can you see it? What version of Acrobat and OS are you running?
    Have you attempted to repair your Office appication to correct the file association?

Maybe you are looking for

  • SAP Query statements

    Hi guys Can any one give me some notes on SAP-Query STATEMENTS. I know T.CODES and creation of Info sets, groups etc. but  I am finding difficult when i wanted to Join the tables. Thanks in Advance. Rgds BJ

  • Best way to change row and/or cell colors other than doing it in sql

    So I have some interactive reports and I would like to be able to change the color of the row (and in some cases cell). I have seen threads talking to doing this with the sql statement. But is there a way to do this either when the page is displayed

  • Unable to load Flash player

    On my IMac, OSX 10.5.8, Lightroom running 64 bit I am not able to see any Flash galleries in the Web window - "Unable to load Flash player". Changing to 32 bit solves the problem, but was not the idea of creating a 64 bit version i suppose. Tried uni

  • Location of CC downloaded update files in Mac Yosemite

    Hi all. I have been using CC on Windows 7 but last week have purchased a Macbook Pro and wanting to keep my hard drive space optimised I want to know when CC downloads updates where does it store these files - I am presuming here that these files are

  • Problem w/free trial

    when Im triing to install a free  download/ flashplayer it tells me toclose a program of twcapp? where do I find that? And How?