Hi Howard
I could be wrong, but I think what you want is a 'carriage return' in the text of your message box
It would look like this
MsgBox "A message" & Chr(13) & "to the world!
The displayed message box would look like
A messag
to the world
Use Rob's instruction when the VBA code line
gets longer than you want to fit
into the window and you don't want to have to use the horizontal scroll bar to see how the entire line reads
just to understand it
Rick..
----- Howard wrote: ----
Rob
Thanks for your fast response, but I still can't make it
work.
I have the the following code
MsgBox "A message to the world.
If I change it to three lines
MsgBox
_"A message"
_"to the world.
It's not working. What should I do
Thanks in advance
Howar