Insert newline char in MsgBox?

rfresh

Well-Known Member
Licensed User
Longtime User
Can I insert a newline char in a msgbox sting? I tried \n but that didn't work.

Thanks...
 
My code below doesn't work. I tried & and that didn't seem to work either. I'm trying for this kind of format in a msgbox:

This is some text.
This is more of the same text.
And this is even more text.

Code: Copy
Msgbox("text" + CRLF + CRLF + "2222","Title")
 
Upvote 0
message = "first line" & CRLF & CRLF & "second line"
msgbox(message,"")
:)
 
Upvote 0
Back
Top