Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
To add a comment to a cell using Aspose.Cells.GridDesktop, please follow the steps below:
The code below will add comments to the b2 and b4 cells of the worksheet.
Comments collection in the Worksheet object provides an overloaded Add method. Developers can use any overloaded version of Add method according to their specific needs.
To access and modify an existing comment in the worksheet, developers can access the comment from the Comments collection of the Worksheet by specifying the cell (using cell name or its location in terms of row and column number) in which the comment is inserted. Once the comment is accessed, developers can modify its Text at runtime.
To remove an existing comment, developers can simply access a desired worksheet and then Remove comment from the Comments collection of the Worksheet by specifying the cell (using its name or row & column number) containing comment.
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.