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

Free Support Forum - aspose.com

Html To Excel problem in rendering internal style in a cell

Hi,


I am trying to convert the html file enclosed in the Excel equivalent using :
Workbook doc = new Workbook(htmlTargetFile);
doc.Save(docFile, Aspose.Cells.SaveFormat.Xlsx);

I have one cell where one word within is underlined, but on the resulting Excel file, the whole text is underlined.

When I open the same html file inside Excel, only the word I want is underlined. I guess there is bug in your converter, can you please have a look ?

Cheers,
Boris

Hi Boris,

Thanks for your posting and using Aspose.Cells.

We tried to open your HTML in Internet Explorer, FireFox and MS-Excel, but it does not open. MS-Excel shows the error as shown in the screenshot.

Could you please provide us correct HTML file or any other missing HTML file so that we could look into this issue further.

Hi,


Sorry for that, here it is attached.

Regards,
Boris

Hi Boris,

Thanks for your files and using Aspose.Cells.

Please download and use the latest version: Aspose.Cells
for .NET v8.0.1.3
it works fine.

I have converted your Html file into Xlsx format and the underline word showed up correctly. I have attached the output xlsx file and screenshot showing the output file for a reference.