M
Michael Daly
John
Another way is to use the vb constant 'vbcrlf' (which
stands for Visual Basic Carriage Return and Line Feed).
Thus:
Dim strMsg as String
strMsg = "This is line one," & vbcrlf _
"This is line two," & vbcrlf & vbcrlf _
"This is the last line with a space in between."
MsgBox strMsg
Michael Daly
25 Sept 2003
Another way is to use the vb constant 'vbcrlf' (which
stands for Visual Basic Carriage Return and Line Feed).
Thus:
Dim strMsg as String
strMsg = "This is line one," & vbcrlf _
"This is line two," & vbcrlf & vbcrlf _
"This is the last line with a space in between."
MsgBox strMsg
Michael Daly
25 Sept 2003