New Line in MsgBox

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

Guest

Anyone know how to start a new line in a MsgBox. For example, if I want to
have paragraphs in a Msgbox how do I do so?
 
Simply use VbCr to break your lines. Eg:

MsgBox "Hello" & vbcr & "How are you?"
 
Rather than tie this to one platform or another, I'd recommend

vbNewLine

instead of

vbLF

since it works the same on both WinXL and MacXL.
 
Hi JE
thanks for the info (as I unfortunately had never used a MAC before
never would have noticed this)
 

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