Message de Petteri Larjos date 2009-02-13 15:34 :
I am using UNO C++ API and need help with XCell interface (again). How I can set cell value to empty? I tried xCell->setFormula(OUString()) but xCell->getType() does not return CellContentType_EMPTY after that. Any ideas? I also need set cell to '#N/A'. How I can set error codes? I tried to xCell->setValue(NAN) but it gives '#NUM!'.
Hi, Answers are in Basic. ' setting cell to empty myCell.setString("") ' setting cell to NA myCell.setFormula("=NA()") Remark: the subject of your mail has no relation with the question. Regards Bernard --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org