Add a carriage return character (Chr(13)) between the lines:
Msgbox "Line1" & Chr(13) & "Line2".
I don't think it's possible to center the lines. You'll need to create a user form to do that.
Marc
how do i make it so the writing in a msg box appear in more then 2 lines
like ; line1
line2
and make them align in centre?
Add a carriage return character (Chr(13)) between the lines:
Msgbox "Line1" & Chr(13) & "Line2".
I don't think it's possible to center the lines. You'll need to create a user form to do that.
Marc
You can center the lines like this.
MsgBox " Line One" & vbcr & " Line Two"
Have a great day
(Leave spaces between the quote mark and the first word. I did but the post didn't show it)
[ This Message was edited by: GeorgeB on 2002-03-21 06:06 ]
Hi
Just what paelinck said with alittle more
"Message line one here" & chr(13) & _
"Message line two here" & chr(13) & _
" Ect... " & chr(13)
Notice Ect...
You can work with blank spaces to center
your message, but it's a pain.
If you know how, create a userform with
labels....
thx it worked
Now that you are a regular, you should change your name![]()
Like this thread? Share it with others