Here's my code:
var comment = xlSheet.Cells[iDataRow, iCol].AddComment(sb4info.ToString(), "Dean");
After that, I opened the excel file. And then there's an error msg:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<recoveryLog xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"><logFileName>error082960_01.xml</logFileName><summary>Errors were detected in file 'C:\AAAAAAA\CDS\TestLDSS\CDS_LDSS_V_2.2.1ALL.xlsx'</summary><repairedRecords summary="Following is a list of repairs:"><repairedRecord>Repaired Records: Comments from /xl/comments2.xml part (Comments)</repairedRecord></repairedRecords></recoveryLog>
Comments: Anyone can help have a look at it?
var comment = xlSheet.Cells[iDataRow, iCol].AddComment(sb4info.ToString(), "Dean");
After that, I opened the excel file. And then there's an error msg:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<recoveryLog xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"><logFileName>error082960_01.xml</logFileName><summary>Errors were detected in file 'C:\AAAAAAA\CDS\TestLDSS\CDS_LDSS_V_2.2.1ALL.xlsx'</summary><repairedRecords summary="Following is a list of repairs:"><repairedRecord>Repaired Records: Comments from /xl/comments2.xml part (Comments)</repairedRecord></repairedRecords></recoveryLog>
Comments: Anyone can help have a look at it?