We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to modify "Comment" and other properties of an Excel file?

Thread ID:





130577 May 18,2017 08:35 PM UTC May 22,2017 04:48 AM UTC WinForms 3
Tags: XlsIO
Swetaketu Majumder
Asked On May 18, 2017 08:35 PM UTC


I would like to modify these properties of an excel file using XlsIO. I could not find a way to achieve that in the online documentation. Kindly help.

Thanks and regards,

Abirami Varadharajan [Syncfusion]
Replied On May 19, 2017 09:36 AM UTC

Hi Swetaketu, 
Thank you for contacting Syncfusion support. 
We request you to modify the required properties by accessing BuiltInDocumentProperties. Kindly refer below code to achieve the same. 
Code Example:  
            IBuiltInDocumentProperties documentproperty = workbook.BuiltInDocumentProperties; 
            documentproperty.Title = "Title Modifed"; 
            documentproperty.Subject = "Subject Modified"; 
            documentproperty.Comments = "Comments Added"; 
            documentproperty.Keywords = "Tags Modified"; 
            documentproperty.Category = "Category Added"; 
We have also shared sample for your reference and the sample can be downloaded from the following link. 
Kindly refer and let us know that your requirement is fulfilled. 

Swetaketu Majumder
Replied On May 19, 2017 09:30 PM UTC

Hi Abirami,

Thank you. I was able to modify the properties.


Abirami Varadharajan [Syncfusion]
Replied On May 22, 2017 04:48 AM UTC

Hi Swetaketu, 
Thank you for updating us.  
We are glad that your requirement is fulfilled. Please let us know if you need any further assistance. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon