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.
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:

Created:

Updated:

Platform:

Replies:

130577 May 18,2017 04:35 PM May 22,2017 12:48 AM Windows Forms 3
loading
Tags: XlsIO
Swetaketu Majumder
Asked On May 18, 2017 04:35 PM

Hi,

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,
Swetaketu

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

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. 
 
Regards, 
Abirami. 


Swetaketu Majumder
Replied On May 19, 2017 05:30 PM

Hi Abirami,

Thank you. I was able to modify the properties.

Regards,
Swetaketu

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

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. 
 
Regards, 
Abirami. 


CONFIRMATION

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.

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

;