Spire.Spreadsheet is a powerful component to view spreadsheet. As a standalone spreadsheet class library, Spire.Spreadsheet is a companion component to Spire.XLS, which mainly focus on how to display spreadsheet.

Tue Jan 08, 2019 2:39 pm

Hi,

is it possible to "add or remove comments" without spire.xls

GH

GHWels
 
Posts: 75
Joined: Sun Nov 23, 2014 7:22 pm

Wed Jan 09, 2019 7:43 am

Hi GH,

Thanks for your inquiry.
Yes, Spire.Spreedsheet supports that.
Below is sample code for your kind reference:
Code: Select all
//add comment
spreadsheet1.ActiveWorksheet.Comments.AddComment(1,1, "Comment 1111");
//remove the comment
spreadsheet1.ActiveWorksheet.Comments.RemoveAt(1, 1);


Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 2807
Joined: Tue Sep 06, 2016 8:30 am

Wed Jan 09, 2019 4:36 pm

Thank you for your help.
GH

GHWels
 
Posts: 75
Joined: Sun Nov 23, 2014 7:22 pm

Thu Jan 10, 2019 1:49 am

Hi GH,

Please feel free to contact us if you need any help.
Wish you all the best!

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 2807
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.Spreadsheet