formulas in excel can return different errors e.g. #div/0 But how to check a cell
package.Workbook.Worksheets["a"].Cells["g2"].GetCellValue<eErrorType>();
will return the error type if an error exists but will crash if the formula of the cell will not produce an error. As far as I can see, the enum of eErrorType does not contain a member like NoError :-(
I would like to use something like that:
var badCells = package.Workbook.Worksheets["a"].Cells.All(f => f.GetCellValue<eErrorType>()!???
Any other approach welcome
tx Perry
