Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vba formatting/inserting blank line to email

Status
Not open for further replies.

emitecaps

Technical User
Apr 20, 2005
24
GB
hi,

i have a form that sends an email to a clients confirming their booking. It's over a few lines and i'm having problems getting the code right to do this.
i'ld like to have it so it reads...

line 1....text
line 2....blank
line 3....text
I'm not sure how to get the blank line and also how to force the text on to a new line...can anyone help please?
 
If the body of the mail is plain text, have a look at vbCrLf.
If the body of the mail is HTML then use "<BR>" as line separator.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top