View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default General Message Box Question

Sub a()
msg = "line1" & vbNewLine & "Line2"
returnvalue = MsgBox(msg, 64, "title")
End Sub


--
Regards,
Tom Ogilvy




"EMoe" wrote in message
...

Whenever you prompt a message box, using this format:

returnvalue = MsgBox("Did you remember to log in your
name?",64,"Message")

If I had a long statement or wanted to add a second sentence, is it
possible
(or how do you), continue or put the second sentenceon another line?

Or does excel just place everything on one line?

Thanks,
EMoe


--
EMoe
------------------------------------------------------------------------
EMoe's Profile:

http://www.excelforum.com/member.php...o&userid=23183
View this thread: http://www.excelforum.com/showthread...hreadid=374589