Add support for reading XLM (Macro Sheet) files#724
Merged
Conversation
Contributor
Author
|
I should say I've added a bunch more missing BIFF codes from the MS-XLS Spec and from Open Office spec. I'm pretty sure that BIFF2 column/row widths/heights aren't being read either. |
This was referenced Jun 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These are described by a
BIFFTYPEof0x0040. We can take the same approach as for Worksheets. Both have a globals stream - see https://learn.microsoft.com/en-us/openspecs/office_file_formats/ms-xls/0dddd943-f77a-4fc2-bf92-868acb4587f7I was able to fire up Excel 2.0 on a VM and create an example file.

I can't add the file directly as GitHub doesn't allow XLM attachments, but they are in a zip file attached.
Files.zip