ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   MsgBox Question (https://www.excelbanter.com/excel-programming/286090-msgbox-question.html)

Ray Batig

MsgBox Question
 
If you use the following convention:

title = " xxxxx"
msg = " yyyyyy"
DialogStyle = .......
Response = ........

What can you insert in the msg prompt to cause it to wrap to a new line? I
would like to get three lines if possible. If this is not possible, is there
a work around?

Thanks in advance for your help!

Ray



Nigel[_8_]

MsgBox Question
 
Use the vbCr (carriage return) to wrap lines as eg.....

Msgbox "Text1" & vbCr & _
"Text2" & vbCr & _
"Text3"

Cheers
N

"Ray Batig" wrote in message
ink.net...
If you use the following convention:

title = " xxxxx"
msg = " yyyyyy"
DialogStyle = .......
Response = ........

What can you insert in the msg prompt to cause it to wrap to a new line?

I
would like to get three lines if possible. If this is not possible, is

there
a work around?

Thanks in advance for your help!

Ray






----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! 100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---


All times are GMT +1. The time now is 12:22 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com