Code to make a New line in a message

J

John Parham

i am writing code for a message box to pop up at certain errors in the users
interaction but the message is quite long and I want to break it down onto 2
or 3 lines. I know it is some thing like

&nb??&. can you help please
 
D

Dianne

John Parham said:
i am writing code for a message box to pop up at certain errors in the users
interaction but the message is quite long and I want to break it down onto 2
or 3 lines. I know it is some thing like

&nb??&. can you help please

MsgBox ("First line" & vbNewLine & "Second line" & vbNewLine & vbNewLine &
"Another line")
 

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