NamedRange::ClearNotes Method ()
Clears notes from all the cells in the NamedRange control.
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
The following code example adds a note to a NamedRange control named NamedRange1 and then prompts you to remove all notes from NamedRange1 by calling the ClearNotes method.
This example is for a document-level customization.
Show: