Sets or returns the category of the spreadsheet. The category property can be 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 Category{ get; set; }
</pre></td></tr></table>
<p>Public Property Category() As String</p>

          //--- Get Category
          string category = docProps.Category;

          //--- Set Category
          docProps.Category = "Sales Reports";
        

          '--- Get Category
          Dim category As String = docProps.Category

          '--- Set Category
          docProps.Category = "Sales Reports"