New Line in MsgBox

E

exceller

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?
 
C

cmart02

Simply use VbCr to break your lines. Eg:

MsgBox "Hello" & vbcr & "How are you?"
 
J

JE McGimpsey

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.
 
F

Frank Kabel

Hi JE
thanks for the info (as I unfortunately had never used a MAC before
never would have noticed this)
 
Top