K Kevin Oct 23, 2003 #1 How do I insert a carriage return into a message box text? Thanks in advance! Kevin
R Rick Brandt Oct 23, 2003 #2 Kevin said: How do I insert a carriage return into a message box text? Thanks in advance! Click to expand... MsgBox "This is line one" & vbCrLf & "This is line two"
Kevin said: How do I insert a carriage return into a message box text? Thanks in advance! Click to expand... MsgBox "This is line one" & vbCrLf & "This is line two"
K Kevin Oct 23, 2003 #3 Rick, I knew it was something like that, but could not remmember exactly what to use. Thanks much! Kevin
Rick, I knew it was something like that, but could not remmember exactly what to use. Thanks much! Kevin
J John Vinson Oct 23, 2003 #4 How do I insert a carriage return into a message box text? Click to expand... Use the vbCrLf VBA constant: Dim strMsg As String strMsg = "This is the first line" & vbCrLf & "This is the second" MsgBox strMsg, vbYesNo
How do I insert a carriage return into a message box text? Click to expand... Use the vbCrLf VBA constant: Dim strMsg As String strMsg = "This is the first line" & vbCrLf & "This is the second" MsgBox strMsg, vbYesNo