Carriage Return

  • Thread starter Thread starter Kevin
  • Start date Start date
Rick,

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

Thanks much!

Kevin
 
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
 
Back
Top