GroupDocs.Annotation for .NET makes it easy to annotate Excel spreadsheets:
- Open the Excel file with an Annotator instance.
- Create and configure the annotation you need.
- Add the annotation to the spreadsheet.
- Save the annotated Excel file.
GroupDocs.Annotation for .NET makes it easy to annotate Excel spreadsheets:
// Annotate an Excel spreadsheet
// Open the spreadsheet with an Annotator instance
using (Annotator annotator = new Annotator("input.xlsx"))
{
// Create an area annotation
AreaAnnotation area = new AreaAnnotation
{
Box = new Rectangle(100, 100, 200, 80),
BackgroundColor = 65535,
PageNumber = 0,
Message = "Important"
};
// Add the annotation
annotator.Add(area);
// Save the annotated spreadsheet
annotator.Save("annotated.xlsx");
}
Add every annotation type to Excel spreadsheets and manage them with a simple API.

Highlight, underline, strike out, or replace text in Excel files.
Draw shapes and stamp watermarks or images onto Excel worksheets.
Get, remove, import, and export Excel annotations.
// Open the annotated spreadsheet
using (Annotator annotator = new Annotator("annotated.xlsx"))
{
// Get all annotations
List<AnnotationBase> annotations = annotator.Get();
// Inspect each annotation
foreach (AnnotationBase annotation in annotations)
{
System.Console.WriteLine(annotation.Message);
}
// Save the spreadsheet
annotator.Save("output.xlsx");
}
Download GroupDocs.Annotation for free or get a trial license for full access!
Explore documentation, code samples, and community support to enhance your experience.
GroupDocs.Annotation for .NET supports annotating documents across many file formats:

