We have a file that when we feed the FileStream into the Workbook constructor, throws a null pointer exception. I will attach the file to this thread
It works OK with the latest version: Aspose.Cells for .NET 22.11
using (FileStream fs = File.OpenRead("9485CooperTest.XLSX"))
{
Workbook wb = new Workbook(fs);
Console.WriteLine(wb.Worksheets.Count);
}
1 Like