Samuel has attended:
Excel VBA Intermediate course
Excel VBA Advanced course
Adding a Table to an email using VBA
Hi, I am trying to add a table to an email containing 8 cells to an email using VBA, what is the best way to do this?
RE: Adding a Table to an email using VBA
Hi Samuel,
Thank you for the forum question. I hope you train trip home went well.
If you want to take a table from an Excel sheet and drop it in the email body. It is not an easy task. You have to combine Excel VBA, Outlook VBA, and HTML codes.
You can easily attach the file with the table or drop the data in an array and add it to the body txt, but formatting, tables, adding pictures to email body is all done by HTML coding.
Have a look at the link below.
https://www.rondebruin.nl/win/s1/outlook/bmail2.htm
Kind regards
Jens Bonde
Microsoft Office Specialist Trainer
Tel: 0207 987 3777
STL - https://www.stl-training.co.uk
98%+ recommend us
London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector
Will be marked as resolved in 5 days
Notice: This is an automated message. Due to inactivity, this forum post will be marked as 'resolved' if there are no further responses in the next 5 days.