We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Add Comment to a specific Cell

I need to assign a comment to a specific cell in a spreadsheet. I don't see how to pin a comment to a specific cell - all I have is the Comments.Add method to add a comment to the collection.

How can I assign "My Comment Here" to cell B23 on Sheet "MySheet"?

Using (yes) Automation, that would be something like this using an Excel Range object:

oRange.AddComment ("My Comment Here");

Have I overlooked something...?


Please check

When you call Comments.Add method, you can add this comment to your specified cell.

Your link is broken.

Please check the following link:


Moreover, the following document/article will give you complete reference on how to manage comments in Excel spreadsheet via Aspose.Cells APIs:
Managing Comments