MiniExcel icon indicating copy to clipboard operation
MiniExcel copied to clipboard

SaveAsByTemplate - Excel Dimension Xml is null

Open BacelarIvanildo opened this issue 3 years ago • 2 comments

Excel Type

  • [x] XLSX
  • [ ] XLSM
  • [ ] CSV
  • [ ] OTHER

MiniExcel Version: 1.30.0

Description:

I used the same example from the documentation, however the described ( Excel Dimension Xml is null )error occurs. The .net core version is 6.0

BacelarIvanildo avatar Jan 06 '23 01:01 BacelarIvanildo

I have the same error "Excel Dimension Xml is null"

laboua avatar Mar 30 '23 13:03 laboua

I have this issue if I use an xlsx file created with google sheets. It works if its saved with Excel. The reason is that the xml file is missing dimensions.

https://user-images.githubusercontent.com/12729184/114507911-5dd88400-9c66-11eb-94c6-82ed7bdb5aab.png

https://github.dev/mini-software/MiniExcel/blob/645a7cf87a4d3a6cf5d13526fa36579d160f692f/src/MiniExcel/OpenXml/ExcelOpenXmlTemplate.Impl.cs#L779

Paul-Wil avatar May 30 '23 13:05 Paul-Wil