Threaded comments on a worksheet or in a workbook.
In xlwings Lite, obtain the collection with awaitsheet.get_comments() or awaitbook.get_comments().
Examples
# Assumes an existing workbook object named book.sheet=book.sheets[0]sheet["A1"].add_comment("Review")forcommentinbook.comments:print(comment.location.address,comment.text)print(sheet.comments["A1"].text)
Comments
Threaded comments on a worksheet or in a workbook.
In xlwings Lite, obtain the collection with
await sheet.get_comments()orawait book.get_comments().Examples
Number of comments in this collection.