Hi,
First off, it's not worth the points you are willing to give.
Second, the answer to your question is the string concatenation operator (&) and the constant vbLf or vbCrLf.
Thus, it makes.
Dim BodyMessage as string
BodyMessage = "Dear sirs," & vbCrLf
BodyMessage = BodyMessage & "Text...text..." & vbCrLf
BodyMessage = BodyMessage & "Regards," & vbCrLf
The vbLf means a LineFeed, vbCr means Carriage Return, and vbCrLf means a LineFeed and a Carriage return.
Grtz.©
D.
P.s. 1 or 2 points will do nicely.. not 100 ;p
Main Topics
Browse All Topics





by: TimCotteePosted on 2003-02-19 at 02:18:25ID: 7980557
You just need to add something like this:
bodymessage = "Dear Sirs" & vbCR & "text text" & vbCR & "Regards" & vbCR
Or use the Linefeed character vbLF or the combination code vbCRLf
Just try it out with one or more of these and determine which gives you the best results.