Hi,
I have an excel that is filled with formulas right through a second tab which is hidden, then I want my first tab shows the values in the cells, not the formulas or references from where the information is obtained.
I were trying using this __sheet0.GetRow(5).GetCell(1).SetCellFormula(null)__ but it sets the cell to null or empty and i need the value converted from the formula.
Thanks in advance
Yoni Valdez
Comments: ** Comment from web user: tonyqus **
I have an excel that is filled with formulas right through a second tab which is hidden, then I want my first tab shows the values in the cells, not the formulas or references from where the information is obtained.
I were trying using this __sheet0.GetRow(5).GetCell(1).SetCellFormula(null)__ but it sets the cell to null or empty and i need the value converted from the formula.
Thanks in advance
Yoni Valdez
Comments: ** Comment from web user: tonyqus **
In this case, you should use XSSFFormulaEvaluator or HSSFFormulaEvaluator to evaluate the formula and set the result to the cell you want. Setting cell to null doesn't work at all