We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Bad link when xlsm file rendered in html

Hi,
When in a file you have 1 link in a column, and then you make another link in 2 columns including the first one, there is a problem with those links when we render the file in html.

In the zip file you have all the explanations.
Thanks.

elements.zip (213.8 KB)

@julien.mevel.isilog,

Please notice, we were able to reproduce the issue as you mentioned by converting your template XLSM file to HTML file format. We found links were wrong in the output HTML via Aspose.Cells APIs. We have logged a ticket with an id “CELLSNET-47797” for your issue. We will look into it soon.

Once we have an update on it, we will let you know.

@julien.mevel.isilog,
This is to inform you that we have fixed your issue now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.

The issues you have found earlier (filed as CELLSNET-47797) have been fixed in this update. This message was posted using Bugs notification tool by simon.zhao

Hi,
The issue is still present with the 21.2.0 version, same reproduction step and file.

The output document still have a problem with links as seen below

element.zip (2.5 KB)

@julien.mevel.isilog,

I did test your scenariio/ case using your original file and following sample code with our latest version/fix (Aspose.Cells for .NET v21.4 (please try it)), it works fine and the output HTML file (attached in the zipped archive) is fine tuned:
e.g.
Sample code:

Workbook workbook = new Workbook("e:\\test2\\originalDocument.xlsm");
workbook.Save("e:\\test2\\originalDocument1.html", SaveFormat.Html);

Let us know if you still find the issue with latest version/fix.
files1.zip (8.6 KB)

Hi,
The issue is still present with the 21.5.0 version, same reproduction step and file.

The output document still have a problem with links as seen below
element.zip (2.5 KB)

@ISIWARE,

Could you please try our latest version/fix Aspose.Cells for .NET v21.5.6.
Aspose.Cells21.5.6 For .Net2_AuthenticodeSigned.Zip (5.5 MB)
Aspose.Cells21.5.6 For .Net4.0.Zip (5.5 MB)
Aspose.Cells21.5.6 For .NetStandard20.Zip (5.5 MB)

I have tested using the exact code (see the following sample code) and it works fine, the link is retained in the output HTML (attached) as in the original file.
e.g.
Sample code:

Workbook workbook = new Workbook("e:\\test2\\originalDocument.xlsm");
workbook.Save("e:\\test2\\originalDocument_new1.html", SaveFormat.Html);

originalDocument_new1.zip (2.5 KB)