MiniExcel icon indicating copy to clipboard operation
MiniExcel copied to clipboard

SaveAsByTemplate throw exception in some xlsx

Open wumingwuan opened this issue 6 months ago • 0 comments

Excel Type

  • [V] XLSX
  • [ ] XLSM
  • [ ] CSV
  • [ ] OTHER

Upload Excel File

Please attach your issue file by dragging or droppng, selecting or pasting them.

nor.xlsx

MiniExcel Version

1.41.2

Description

 [TestMethod]
 public void TestNoR()
 {
     MemoryStream memoryStream = new MemoryStream();
     var value = new Dictionary<string, object>()
     {
         ["Name"] = "Jack",
     };
     MiniExcel.SaveAsByTemplate(memoryStream, @"TestFiles\nor.xlsx", value);
 }

throws exception

Image

wumingwuan avatar Aug 27 '25 07:08 wumingwuan