Sets or returns the value of the Comments field in a workbook's Properties sheet. Comments can used to search for an Excel file.

<table class="wysiwyg-macro" data-macro-name="unmigrated-wiki-markup" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e3VubWlncmF0ZWQtd2lraS1tYXJrdXB9&amp;locale=en_GB&amp;version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre>
 public System.String Comments{ get; set; }
</pre></td></tr></table>
<p>Public Property Comments() As String</p>

          //--- Get Comments
          string comments = docProps.Comments;

          //--- Set Comments
          docProps.Comments = "Generated by ExcelWriter";
        

          '--- Get Comments
          Dim comments As String = docProps.Comments

          '--- Set Comments
          docProps.Comments = "Generated by ExcelWriter"