• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

VBA code to command Enter

Hi,

Does anyone know what is the sign/code to command enter.
I am writing a code to send an email through outlook.
In body, i write as following:
.Body = "Dear Everyone, I am writing this email would like to....."
The result will show it at the same line, but what i want is like this sample
"Dear Everyone,
I am writing this email would like to....."

Thanks for help.
 

Belleke

Active Member
Like this?
Code:
"Dear Everyone," & vbNewLine & "I am writing this email would like to....."
 
Top