When I use "AddHyperlink" function to add a link
for a picture, the problem occurs.
The code I used:
currentSheet.Pictures[currentSheet.Pictures.Count -
1].AddHyperlink(sURL.Remove(startIndex, 1));
I found that Excel 2000 cann't open the excel file
which is generated by this code. However, this problem never occurs in Excel
2003.
And the version I use is 4.7.0.1. Thank you.
Hi,
Thank you for considering Aspose.
Well, I tested your scenario abit with the latest version of Aspose.Cells and it works fine. Following is my sample test code.
Workbook wb = new Workbook();
Worksheet currentSheet = wb.Worksheets[0];
currentSheet.Pictures.Add(5, 5, "C:\\CB2.jpg");
currentSheet.Pictures[0].AddHyperlink("http://www.aspose.com");
wb.Save("c:\\tstImage.xls",FileFormatType.Excel2000);
Please share your template file(s) and we will check it soon.
Thank You & Best Regards,