Excel offered to repair workbooks my app generated, but only for some people and only in real Excel. Two separate bugs. An older Python library on the server wrote the modified date with a timezone offset and a Z, which Excel won’t parse as a date. And a trip name containing an ampersand broke the print footer, because & starts a code there. Neither bug shows in LibreOffice or in cell-level tests. Fixes were a post-save rewrite of one XML file and doubling the ampersand. Tests now check the XML itself. If generated files work for you and not them, unzip one.
Read more "Excel said the file had errors. The file was fine. Twice."
