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

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

c# - How to execute a particular part of code asynchronously in a class -

c# - Asterisk click to call -