MsgBox

Killerme
02-16-2004, 10:38 PM
How do I make more then one line on a message box? Here's my current code:

MsgBox "Created by: Andrew on 2/16/04", vbDefaultButton1, "Calculator 1.1"

EDIT: Sorry what I want the message box to say is:
"Created by:
Andrew on 2/16/04"

jumentous
02-16-2004, 10:44 PM
just like you would with a string by using vbCrLF


MsgBox "Created by: Andrew on 2/16/04" & vbcrlf & "Line2", vbDefaultButton1, "Calculator 1.1"


EDIT:

Well just change the location of the new line


MsgBox "Created by:" & vbcrlf & "Andrew on 2/16/04", vbDefaultButton1, "Calculator 1.1"

Killerme
02-16-2004, 11:05 PM
Thx a lot. I think u helped me last time with the does not equal <>

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum