Dim JOCell As JavaObject
Dim JODataFormatter As JavaObject
Dim JOConditionalFormattingEvaluator As JavaObject
Dim JOFormulaEvaluator As JavaObject
Cell = Row.GetCell(c) ' get the cell
JOCell = Cell
JOFormulaEvaluator =JOCell.RunMethodJO("getSheet",Null).RunMethodJO("getWorkbook",Null).RunMethodJO("getCreationHelper",Null).RunMethodJO("createFormulaEvaluator",Null)
JOConditionalFormattingEvaluator.InitializeNewInstance("org.apache.poi.ss.formula.ConditionalFormattingEvaluator",Array As Object (JOCell.RunMethodJO("getSheet",Null).RunMethodJO("getWorkbook",Null),JOCell.RunMethodJO("getSheet",Null).RunMethodJO("getWorkbook",Null).RunMethodJO("getCreationHelper",Null).RunMethodJO("createFormulaEvaluator",Null)))
CContent=JODataFormatter.InitializeNewInstance("org.apache.poi.ss.usermodel.DataFormatter",Array As Object(locale)).RunMethod("formatCellValue",Array As Object (JOCell,JOFormulaEvaluator,JOConditionalFormattingEvaluator))