Set the Comment of Table or List Object

Set the Comment of Table or List Object inside the Worksheet

Aspose.Cells for Python via Java supports adding a comment to a List Object. For this, the API provides the ListObject.Comment property. The comment added by the ListObject.Comment property will be visible inside the xl/tables/tableName.xml file.

The following screenshot shows the comment created by the sample code in the red rectangle.

todo:image_alt_text

The following sample code loads the source Excel file and sets the comment of the first table or list object inside the worksheet.