There is a sample:
Aspose.Excel.License lic = new Aspose.Excel.License();
lic.SetLicense("Aspose.Custom.lic");
Aspose.Excel.Excel exc = new Aspose.Excel.Excel();
exc.Open("mamba.xls");
Aspose.Excel.Worksheet worksheet = exc.Worksheets[0];
for(int i = 0; i < 10; i++)
{
Aspose.Excel.Cell cell = worksheet.Cells[i, 0];
cell.Style.ForegroundColor = System.Drawing.Color.Yellow;
int j = worksheet.Comments.Add(i, 0);
Aspose.Excel.Comment comment = worksheet.Comments[j];
comment.Note = "somecomment";
}
exc.Save("mamba.xls");
If i save document in another file - it works fine. After running this sample i have message box when openening modified document in excel. Document in attach.