Not sure what you are asking. To make a multi line msgbox use vbCrLf (see also vbCr and vbLf) To split a line of code on two lines, end the first line with a space and then a under score " _"
Sub example()
MsgBox "This is line 1" & vbCrLf & "This is line 2"
MsgBox "This is a very long..." _
& "line" 'second line of code
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.