I have application where getting Cells.Count() value doesn't finish in specific sheet in Excel file using Spire.Officefor.NETStandard library 7.10.0.
I tried on computer with 8 GB of RAM (2 GB is free) and RAM memory is full during Cells.Count() call, it looks like that line of code will never finish.
This is the code I used for testing:
- Code: Select all
Spire.Xls.Workbook workbook = new Spire.Xls.Workbook();
workbook.LoadFromFile(@"C:\1.xlsx");
int sheet4CellsCount = workbook.Worksheets[4].Cells.Count();
I sent an example of excel file to [email protected].
Can you take a look at this?
Thanks,
Filip