linefeed in msgbox

S

s.hoitinga

Hi, all.

I would like a linefeed on a msgbox. I know you can use a vba constant vbCr but where do I put it?
msgbox "hi, how are you? " vbCr "I'm fine, thank you." resulted in an error.

any help is much appreciated.

greets,

sybolt
 
C

Claus Busch

Hi,

Am Thu, 29 Nov 2012 00:24:26 -0800 (PST) schrieb (e-mail address removed):
I would like a linefeed on a msgbox. I know you can use a vba constant vbCr but where do I put it?
msgbox "hi, how are you? " vbCr "I'm fine, thank you." resulted in an error.

try:
MsgBox "hi, how are you? " & vbCr _
& "I'm fine, thank you."


Regards
Claus Busch
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top