Hi Aspose team,
when I try to change hyperlinks in Excel document change is done but for some reason
file:/// is added in front of new hyperlinks.
I attached sample project and test document but coding is very simple:
public void ChangeHyperlink()
{ Workbook workbook = new Workbook("1.xlsx"); foreach (Worksheet worksheet in workbook.Worksheets) { foreach (Hyperlink hpl in worksheet.Hyperlinks) { hpl.Address=@"d:\_Work\whatever\Test.docx"; } } workbook.Save(dataDir + "output.xlsx"); } During debugging I see that correct link is set over hpl.Address=... but when you open Excel document you see that new link is extended with file:///
Can you please urgently check this?
Thanks,
Oliver
|