显示一个2行的消息popupvba 6

有没有办法在vba 6的popup窗口中显示2或3或4或n行消息?

目前我的popup窗口(调用MsgBox函数)显示消息像这样:

You did something wrong. Please enter valid input. 

我希望它显示这样的消息

  You did something wrong. Please enter valid input. 

你能提供一个代码示例吗?

许多thx提前,radu

只要在你的讯息中join一个换行符:

 MsgBox "Text 1" & vbNewLine & "text 2. 

比较容易的要求

  iResult = MsgBox("This information is on the first line. " & vbCrLf & "This information is on the 2nd line. " &vbCrLf & _ "Do you wish to continue?", vbYesNo + vbInformation, "Message Box")