I have a variable with rich text and am trying to write the data in an Excel cell using Aspose.Cells. The text formatting is coming fine but the Hyperlink is not getting rendered, it's coming as plain text I cannot click on the link. Below is the code sample:
//Instantiate a Workbook object that represents Excel file.
using Aspose.Cells;
Workbook wb = new Workbook();
Worksheet sheet = wb.Worksheets[0];
//Access the "A1" cell in the sheet.
Cell cell = sheet.Cells["A1"];
//Input the rich text into the "A1" cell
var formattedVal = "<b>Hey This</b> <i>is <a href='http://Test'>Test </a></i><a href='http://google.com'>http://google.com</a>";
cell.HtmlString = formattedVal;
wb.Save("c:\\MyBook.xls", SaveFormat.Excel97To2003);
Here "is Test" is a hyperlink but coming as plain text only with formatting and HTTP://google.com is also coming as text only.
Please suggest.
I am using Aspose.Cell 20.2.0 version.