B4J Question APOI formula

Status
Not open for further replies.

DAKTECXXL

Member
Hello, it does not work evaluate, when the table is in another sheet

Formula = + Table24 [[# This row], [ASSEMBLY H.]] + Table24 [[# This row], [DIRECT H.]] + Table24 [[# This row], [TRAVEL H.]] + Table24 [ [#This row], [H.NAVE]] + Table24 [[# This row], [H. DRIVING]]


org.apache.poi.ss.formula.FormulaParseException: The specified named range 'Table24' does not exist in the current workbook.

Excuse my English.

B4X:
 Dim jo como JavaObject = xls
        Dim evaluator As JavaObject = jo.RunMethodJO ("getCreationHelper", Null) .RunMethodJO ("createFormulaEvaluator", Null)   
        Log ("EVALUATOR =" & evaluator.RunMethodJO ("evaluar", Array (row.getCell (12))). RunMethod ("formatAsString", Null))
 [/ CODE]

I also try with ...

[CODE=b4x]        Dim chlp As XSSFCreationHelper = xls.CreationHelper
        Dim eval As XSSFFormulaEvaluator = chlp.createFormulaEvaluator
        Dim evaluatedcell As XSSFCell = eval.evaluate(row.getCell(12))

does not work, result ...
 

behnam_tr

Active Member
Licensed User
Longtime User
Sorry I got confused, it is a B4A question, in B4J it works perfectly

check this :
 
Upvote 0
Status
Not open for further replies.
Top