The numFmt tag in the workbook file is missing the formatCode attribute value #1412
Closed
1 of 5 tasks
Labels
Milestone
NPOI Version
2.7.1
File Type
Upload the Excel File
EmptyFormatCode.xlsx
Reproduce Steps
Just open and save the file with NPOI, sample code written in .NET 6:
Issue Description
When the
formatCode
attribute value of thenumFmt
tag in/xl/styles.xml
in the workbook archive is an empty string""
, NPOI will treat it as anull
value and generate the following form xml:The current version of Excel does not seem to accept a
formatCode
value of null and prompts the following error:The text was updated successfully, but these errors were encountered: