I'm currently investigating the ProgressEventHandler for the XlsIO. I see that the ProgressEventArgs has two readonly values, Position and FullSize. Does anyone know what these values actually mean? There is a massive difference in the values that are returned when processing an XLSX and XLS. The XLS value looks like it might be rows, but the XLSX is a puzzle as it seems to be more than the number of worksheets in the file, but a lot less than the number of rows.
private void ActionProgressEvent(object sender, ProgressEventArgs args)
{
string x = string.Format("{1} - {0}", args.FullSize, args.Position);
Console.WriteLine(x);
}
excelEngine.Excel.ProgressEvent += ActionProgressEvent;
The reason I'm look at this, is that I have problematic Excel files that I'm trying to open unsuccessfully. I'm hoping that once I understand the values I can use the information to narrow down where the issue preventing me from opening the file.
Thanks in advance for any help or advice you can provide.