adding table email using

Public Schedule Face-to-Face & Virtual Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Adding a Table to an email using VBA

Adding a Table to an email using VBA

resolvedResolved · Low Priority · Version 365

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.

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

COUNT function vs COUNTA function

The COUNTA function works in the same way as the COUNT function, except that it will count cells that contain text (labels) and also cells that contain numbers (values). The COUNT function will only count cells that contain numbers. Blank cells are not counted by either the COUNT or the COUNTA function.

View all Excel hints and tips


Server loaded in 0.08 secs.