Hi,
I have tried creating comments in the excel file, using below code

ClientAnchor anchor = ch.createClientAnchor();
                        Comment comment = drawing.createCellComment(anchor);
                        comment.setString(ch.createRichTextString(alias));
                        cell.setCellComment(comment);

after writing the xls and opening the file it gives error "File error data
may have been lost" and opens the file

In the file content anchored to first cell as well as minimized which you
need to expand to see the comment.

When write the xlsx file it does not open with xlsx to xls converter.

-- 
View this message in context: 
http://old.nabble.com/setCellComment-not-working-properly-in-version-3.6-tp26842676p26842676.html
Sent from the POI - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to