Read fails on files created by SAP

Questions and answers on how to use XLSReadWriteII 3/4/5.
Post Reply
green_rd

Read fails on files created by SAP

Post by green_rd »

Greetings,

I am trying to read an Excel file created from SAP (ECC 5.0). The file opens fine with Excel 2003. But when I try to open it with XLSReadII I get the error
Error on reading record # 0, FEFF Offs 00000004
Bad record in file.

I see the problem is related to the high bit being set in the Record ID (XLSReadII2, line 252), but I can't really go any further with this.

I tried the same file using my old XLSRead 1.36 and it didn't think the file is an Excel file - I didn't step into it to say where that problem was, as I would prefer to use the newer technology.

Please help,
Thanks,
Bob Green :shock:
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Post by larsa »

Hello

The file is not an excel file. Excel can sometimes recognize other file formats (csv, html, etc) with an XLS extension but this don't means that they are excel files.


Lars Arvidsson
Post Reply