biff option #2907
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#2907
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have an old xls file, in which I am only capable to open it changing biff option.
Can you enable it on opts arg?
Please check the attachments to a detailed description
Can you share a file that is causing issues? We can add an override, but there may be some file-based hint.
The actual BIFF version is determined by looking at the BOF record: BIFF2/3/4 use distinct record types and BIFF5+ store the BIFF version in the first two bytes of the BOF record. Code https://git.sheetjs.com/sheetjs/sheetjs/src/branch/master/bits/76_xls.js#L330-L342
Note: If you are trying to write a file, you can pass the file type
biff2
. This is covered in our docs https://docs.sheetjs.com/docs/api/write-options#supported-output-formatsI think the file is somehow corrupted because I can't open it with microsoft excel.
However, I am receiving those files and I need to open it.
Please give a check to the attached file.
Thank you for your support.
The file itself is a bit of a mess. After renaming to
gps_file.xls
, Excel tries to repair the file and shows a warning.Inspecting the file, the ExternSheet record is incorrect. The file is marked as BIFF8 but is using the legacy format. The most straightforward patch:
If you have the ability to generate these files, can you also share a file with a formula?
It is a client that is sending those files.. I don't have a way to generate it.
Thanks for your support ;)