I receive an 'error evaluating cell' message when running the EvaluateAllFormulaCells method on an xls that has a cell with the present value function PV. i do not receive the error on any other formulas.
Please see my code below and let me know if any ideas. Thanks!
HSSFWorkbook xssfwb;
using (FileStream file = new FileStream(@"c:\Book1.xls", FileMode.Open, FileAccess.ReadWrite))
{
xssfwb = new HSSFWorkbook(file);
HSSFFormulaEvaluator.EvaluateAllFormulaCells(xssfwb);
}
Comments: ** Comment from web user: tonyqus **
Please see my code below and let me know if any ideas. Thanks!
HSSFWorkbook xssfwb;
using (FileStream file = new FileStream(@"c:\Book1.xls", FileMode.Open, FileAccess.ReadWrite))
{
xssfwb = new HSSFWorkbook(file);
HSSFFormulaEvaluator.EvaluateAllFormulaCells(xssfwb);
}
Comments: ** Comment from web user: tonyqus **
Can you share the xls with me? Please send it to tonyqus (at) gmail.com