PPTX DOCX XLSX PDF ODP
Aspose.Cells  for .NET
XLS

Add or Delete Annotation from XLS via C#

Build your own .NET apps to manipulate comments & authors in document files using server-side APIs.

How to Annotate XLS File Using C#

In order to annotate XLS file, we’ll use

Aspose.Cells for .NET

API which is a feature-rich, powerful and easy to use document manipulation API for C# platform. Open

NuGet

package manager, search for Aspose.Cells and install. You may also use the following command from the Package Manager Console.

Command


PM> Install-Package Aspose.Cells

Add or Delete Annotation from XLS via C#

You need

aspose.cells.dll

to try the code in your environment.

  • Load XLS file by creating an instance of Workbook
  • Add Comment to the Worksheet in a Cell
  • Call RemoveAt with the Cell Id to remove it
  • Save the workbook before & after calling RemoveAt method to compare

System Requirements

Aspose.Cells for .NET is supported on all major operating systems. Just make sure that you have the following prerequisites.

  • Microsoft Windows or a compatible OS with .NET Framework, .NET Core, Mono or Xamarin Platforms.
  • Development environment like Microsoft Visual Studio.
  • Add reference to the Aspose.Cells for .NET DLL in your project.
 

Delete Annotations from XLS - C#

 
  • About Aspose.Cells for .NET API

    Aspose.Cells API can be used to create, edit, convert and render Microsoft Excel formats to different formats. Moreover, it can be used for comprehensive charting, scalable reporting and reliable calculations within software applications. Aspose.Cells is a standalone API and it does not require any software like Microsoft or OpenOffice.

    Remove Annotation from XLS via Online App

    Other Supported Annotation Formats

    Using C#, one can easily annotate other formats including.

    ODS (OpenDocument Spreadsheet File)
    XLSB (Binary Excel Workbook File)
    XLSM (Spreadsheet File)
    XLSX (OOXML Excel File)