Formatting an email (1 Viewer)

G81

Registered User.
Local time
Today, 15:05
Joined
Jun 10, 2010
Messages
73
Hi guys,

Ive been using the outlook.application method to email results from various queries like this:

Code:
.Body = "1)" & Chr(13) & Chr(13) _
            & s1 & Chr(13) _
            & "2)" & Chr(13) & Chr(13) _
            & s2 & Chr(13) & Chr(13) _
            & "3)" & Chr(13) & Chr(13) _
            & s3 & Chr(13) & Chr(13) _
            & "4)" & Chr(13) & Chr(13) _
            & s4 & Chr(13) _
            & "5)" & Chr(13) & Chr(13) _
            & s5 & Chr(13) & Chr(13) _
            & "6)" & Chr(13) & Chr(13) _
            & s6

It works perfectly but I would rather the results be shown in tables, like when you copy and paste selected cells from a select query into an email.

Can someone point me in the right direction for formatting tips when emailing in vba?
 

Users who are viewing this thread

Top Bottom