MsgBox Question

  • Thread starter Thread starter Ray Batig
  • Start date Start date
R

Ray Batig

If you use the following convention:

title = " xxxxx"
msg = " yyyyyy"
DialogStyle = .......
Response = ........

What can you insert in the msg prompt to cause it to wrap to a new line? I
would like to get three lines if possible. If this is not possible, is there
a work around?

Thanks in advance for your help!

Ray
 
Use the vbCr (carriage return) to wrap lines as eg.....

Msgbox "Text1" & vbCr & _
"Text2" & vbCr & _
"Text3"

Cheers
N
 

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

Back
Top