Carriage Return

K

Kevin

Rick,

I knew it was something like that, but could not remmember
exactly what to use.

Thanks much!

Kevin
 
J

John Vinson

How do I insert a carriage return into a message box text?

Use the vbCrLf VBA constant:

Dim strMsg As String
strMsg = "This is the first line" & vbCrLf & "This is the second"
MsgBox strMsg, vbYesNo
 
Top