Table of Contents

Property Comments

Namespace
DocWright.Spreadsheet
Assembly
DocWright.Spreadsheet.dll

Comments

Gets the sheet's notes (Excel's legacy comments): in the order the file lists them, to add, change and remove as Excel's New Note, Edit Note and Delete Note do.

public XlsxComments Comments { get; }

Property Value

XlsxComments

Remarks

A threaded comment is not a note, as Excel counts them: it is in ThreadedComments, and the note a file keeps for it, for versions of Excel that have no threads, is not listed here. The list is live: it reads the parts as they are now and the edits made since.

Exceptions

InvalidOperationException

The sheet is not a worksheet (reading or changing the list).