Private Sub Command1_Click()
MsgBox ("This is a test" & Chr$(13) & "This is the second line.")
MsgBox ("This is a test" & vbCr & "This is the second line.")
MsgBox ("This is a test" & vbLf & "This is the second line.")
MsgBox ("This is a test" & vbCrLf & "This is the second line.")
MsgBox ("This is a test" & vbNewLine & "This is the second line.")
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.