Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MsgBox with new lines

Status
Not open for further replies.

scecilia

Programmer
Jul 8, 2002
35
US
Hello,

I need a Message Box with blank spaces and I don't know how to do that :-(

Something like:

MsgBox &quot;Hello <newLine> <newline> World!&quot;

So the result should be:
Hello

World

THANKS
 
try this:
msgbox &quot;Hello&quot; + vbCr + vbCr + &quot;World&quot;
let me know if that helped
 

MsgBox &quot;Hello&quot; & vbNewLine & vbNewLine & &quot;World&quot;

 
HI,

MsgBox &quot;Hello&quot; & vbcrlf & vbcrlf & &quot;World!&quot;

Have a good one!
BK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top