wrapping text in a pop-up box - MsgBox

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, I'm creating some pop-up boxes right now. I don't know much at all about
VB (just learning). As I'm typing my message in the VB editor, it just keeps
moving more and more to the right. Can someone tell me how I enter the code
for the pop-up so that it wraps and I don't have to type one long sentence.

I have several paragraphs that need to go in one pop-up, and I want the
paragraphs separated by a space bar.

Thanks for the help!
 
Msgbox "This is a message from the con troller" & vbCrLf & _
"with a second line of text" & vbCrLf & _
"and even a third"

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
Thanks! Once I got all the spacing typed in correct, it worked perfectly.
Thanks for the help!
 

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