Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Fri Sep 25, 2020 2:59 pm

Hi,

I need to convert Excel range to HTML, Render it as tr and td (Table) other than div structure

Thanks
Lijo George

lijgeorge
 
Posts: 15
Joined: Fri Sep 04, 2020 9:53 am

Sun Sep 27, 2020 6:45 am

Hello,

Thanks for your inquiry.
I tested the below code with the latest Spire.XLS Pack(Hotfix) Version:10.9.0 and found that the Excel Range are rendered as table structure.
Is your generated html document rendered as a div structure? If so, please provide your full test code and your input file for our further investigation. You can send them to us (support@e-iceblue.com) via email. Thanks in advance.
Code: Select all
Workbook workbook = new Workbook();
            workbook.LoadFromFile("input.xlsx");
            Worksheet sheet = workbook.Worksheets[0];
            string result = "result.html";
            sheet.SaveToHtml(result);


Sincerely,
Elena
E-iceblue support team
User avatar

Elena.Zhang
 
Posts: 279
Joined: Thu Jul 23, 2020 1:18 am

Thu Dec 10, 2020 7:13 am

Hello,

Greetings from E-iceblue.
How is your issue now? Could you please give us some feedback at your convenience?

Sincerely
Elena
E-iceblue support team
User avatar

Elena.Zhang
 
Posts: 279
Joined: Thu Jul 23, 2020 1:18 am

Return to Spire.XLS