How to get the formula cell value(data) using apache poi -
i using apache poi3.5 , java 1.6 application. here, have 1 problem using formula...
my cell has formula(sheet2!c10) , data inside cell string type...how access cell want display formula.
my cell has formula(sheet2!c11) , data inside cell number type...how access cell want display formula.
my cell has formula(sheet2!c10) , data inside cell date type...how access cell , want display formula.
for formula cell, using poi3.8.
workbook xlsworkbook = null; cell cell = null; formulaevaluator formulaeval = xlsworkbook.getcreationhelper().createformulaevaluator(); string value=formulaeval.evaluate(cell).formatasstring();
Comments
Post a Comment