View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Jean-Yves[_2_] Jean-Yves[_2_] is offline
external usenet poster
 
Posts: 253
Default Using different lines in an input- or msgbox

Hi,

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

Regards,
Jean-Yves

"Syrus the Virus " wrote in
message ...
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 the
text but then it accepts the inputbox.

HELP!!!!


---
Message posted from http://www.ExcelForum.com/