Hi Daniel, please forgive me for asking but i changed the code to:
final CellContentType type = xCell.getType(); if (type == CellContentType.FORMULA) { final Object obj = getPropertyValue(xCell, "FormulaResultType"); [...] } my debugger tells me "obj" is a CellContentType: obj com.sun.star.table.cellcontentt...@1612600 m_value 1 AnyConverter.toInt(obj) will fail too ... Oliver -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45
signature.asc
Description: OpenPGP digital signature