Excel to HTML Table in Email Body

Hi,

I am having the excel with some different cell backgrounds. so i need the same excel table when i send to mail body as a html table. now i am getting the table with out cell background colors.

image

Please help me on this.

Thanks,
Suresh.

1 Like

Hi @suresh_kumar4

Create a template based on HTML format

Thanks
Ashwin.S

Now i am getting the table like this…

I Need it in this below format … i mean the cell backgrounds.

image

Thanks,
Suresh.

Hi @suresh_kumar4

Within cell table give tr color and mention the color as tr color=“grey” like wise for all cells

Thanks
Ashwin.S

Thanks,

I Understood but if i am having the small table around 10 rows i can do it . in case if the excel having thousands of rows then its taking time. so my requirement is whatever there in Excel i will just send it as html table in mail body.

so i need to see the exact table in mail. whatever there in the excel file with all the properties like, color, background, fonts etc…

Thanks,
Suresh.

1 Like

DataTableToHtmlText-Excel.zip (11.0 KB)

Solution will give cell color as per given input excel sheet.

Thanks!

3 Likes

you can’t attach for outlook

Thanks! :slight_smile:

1 Like

Awesome that it worked…! Cheers @suresh_kumar4

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.