msgbox question

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top