Question : Adding bullet points to body of email using call and vba

I have this call that works.

SendOutlookMail "[email protected]", "", "Subject", "Body Text", "c:\full\path\to\attachment.xls"

However, I am not sure how to add bullets to the "Body text" can anyone help me on this. I would like to add bullet points to the email along with text using vba in excel..

Answer : Adding bullet points to body of email using call and vba

Hi LHood1,
Assuming that you have figured out how to make your one-liner work, just replace "Body Text" with a string variable for your text:

Sub SendMeMail()
Dim BodyText As String
BodyText = "This is a summary" & Chr(10) & _
    Chr(149) & "First point" & Chr(10) & _
    Chr(149) & "Second point" & Chr(10) & _
    Chr(149) & "Last point"
SendOutlookMail "[email protected]", "", "Subject", BodyText, "c:\full\path\to\attachment.xls"
End Sub

Cheers!
Brad
Random Solutions  
 
programming4us programming4us