Snail_Rider1
New Member
- Joined
- Aug 15, 2014
- Messages
- 2
Hi all
I am using VBA to write an email in Outlook and i have a problem with the indent of the HTMLBODY. Please find my code below
.HTMLBody = "Dear All," & _
"
" & "First line" & _
"
" & " " & "Second line " & _
"
" & " " & "Third line" & _
i want the text to be
First line
(space )Second line
(space)(space)Third line
but when I run the code, there is no space at the beginning of each line.
First line
Second line
Third line
Any idea how to fix this?
your help will be very much appreciated
I am using VBA to write an email in Outlook and i have a problem with the indent of the HTMLBODY. Please find my code below
.HTMLBody = "Dear All," & _
"
" & "First line" & _
"
" & " " & "Second line " & _
"
" & " " & "Third line" & _
i want the text to be
First line
(space )Second line
(space)(space)Third line
but when I run the code, there is no space at the beginning of each line.
First line
Second line
Third line
Any idea how to fix this?
your help will be very much appreciated