Using different lines in an input- or msgbox

  • Thread starter Thread starter Syrus the Virus
  • Start date Start date
S

Syrus the Virus

I would like to use different lines (cq use enter) but I don't know how
I can make the macro press enter wiithin the string that defines th
text but then it accepts the inputbox.

HELP!!!
 
Hi,

Sub test()
Dim strMsg As String
strMsg = "Your text" & vbCrLf & "In two lines"
MsgBox strMsg
End Sub

Regards,
Jean-Yves
 
Back
Top