Cant Read Comments


#1

Hi,

We are currently evaluating this software, but we have run into some difficulty:

we have an excel spreadsheet which we have added a comment to cell A1 using microsoft excel 2000.

we used the following code snippet to try and read the comment into our program:

Aspose.Excel.Excel excel = new Aspose.Excel.Excel();
Aspose.Excel.Comment cmt;
excel.Open(@"C:\Work\Testing\Allsorts\Comments.xls");
cmt = excel.Worksheets[0].Comments["A1"];
String x= cmt.Note;

but this code doesnt not work, cmt is null by the time we get to the line

String x= cmt.Note;

It is critical that this works, if we are to purchase this software.

please can you provide some assistance.

many thanks.