ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   MsgBox with multiple lines (https://www.excelbanter.com/excel-programming/343326-msgbox-multiple-lines.html)

DoctorG

MsgBox with multiple lines
 
How can I change lines in a MsgBox, just like entering Alt-Enter in a cell?

Bob Phillips[_6_]

MsgBox with multiple lines
 
Msgbox "This is line 1" & vbnewline & _
"this is another line" & vbnewline & vbnewline & _
"another after a blank"

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"DoctorG" wrote in message
...
How can I change lines in a MsgBox, just like entering Alt-Enter in a

cell?




All times are GMT +1. The time now is 07:01 AM.

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