Aspose.Cells  for C++

Add Annotation in XLS File via C++

Build your own C++ 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 C++

API which is a feature-rich, powerful and easy to use document searching API for C++ platform. You can download its latest version directly, just open


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


PM> Install-Package Aspose.Cells.Cpp

Steps to Add Comments in XLS via C++

  1. Load the XLS Excel file using the IWorkbook class object.
  2. Select the relevant sheet
  3. Add the comment using the Add method
  4. Set the note of the comment using the SetNote method.
  5. Save the workbook using Save method

System Requirements

Aspose.Cells for C++ supports on all major platforms and Operating Systems. Please make sure that you have the following prerequisites.

  • Microsoft Windows or a compatible OS with C++ Runtime Environment for Windows 32 bit, Windows 64 bit and Linux 64 bit.
  • Add reference to the Aspose.Cells for C++ DLL in your project.

Add Comments in XLS File - C++

  • About Aspose.Cells for C++ 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.

    Add / 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)