multiline text in a messagebox.show

G

Guest

How can I write a multiline text in a message box.show

how can i use the line feed or carriage return in this situaion.

Thank you
 
H

Herfried K. Wagner [MVP]

amruta said:
How can I write a multiline text in a message box.show

how can i use the line feed or carriage return in this situaion.

\\\
MsgBox( _
"Line1" & ControlChars.NewLine & _
"Line2" _
)
///

'ControlChars.NewLine' is a constant opposed to 'Environment.NewLine', which
will return a platform-dependant value.
 

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