You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Above is my excel screenshot with comments, there is only one cell. I use RemoveCellComment method to clear cell comment.
Then I validated cell value, found it is not a phone number, so I add a new comment on the cell, below is my code: item.Cell.CellComment = drawing.CreateCellComment(new XSSFClientAnchor(0, 0, 0, 0, column + 2, row, column + 3, row + 3));
item.Cell.CellComment.String = new XSSFRichTextString(item.ErrorText);
I saved workbook to excel and opened it, found the comment displayed effect is same as the first picture.
I opened excel and remove cell comment manually, and repeated the above steps,the comment displayed normal as below:
I don't know what's wrong. Is there a problem with my usage? Below is my excel. b.xlsx
The text was updated successfully, but these errors were encountered:
Above is my excel screenshot with comments, there is only one cell. I use RemoveCellComment method to clear cell comment.
Then I validated cell value, found it is not a phone number, so I add a new comment on the cell, below is my code:
item.Cell.CellComment = drawing.CreateCellComment(new XSSFClientAnchor(0, 0, 0, 0, column + 2, row, column + 3, row + 3));
item.Cell.CellComment.String = new XSSFRichTextString(item.ErrorText);
I saved workbook to excel and opened it, found the comment displayed effect is same as the first picture.
I opened excel and remove cell comment manually, and repeated the above steps,the comment displayed normal as below:
I don't know what's wrong. Is there a problem with my usage? Below is my excel.
b.xlsx
The text was updated successfully, but these errors were encountered: