EXCEL导出备注

Drawing patriarch=ws.createDrawingPatriarch();
hcomment = (XSSFComment) patriarch.createCellComment(new XSSFClientAnchor(0, 0, 0, 0, (short)colIndex,rowIndex-1,(short)5,8));
hcomment.setString(new XSSFRichTextString(content.toString()));

wc.setCellComment(hcomment);

原文地址:https://www.cnblogs.com/qq1988627/p/6669004.html