ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Msg Box (https://www.excelbanter.com/excel-programming/305751-msg-box.html)

joe user

Msg Box
 
how do I send Chr$(10) to a msgbox so I can have a
sentence in a msgbox on it's own line?

Chip Pearson

Msg Box
 
Try something like the following:


MsgBox "This is line 1" & vbCrLf & _
"This is line 2"


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"joe user" wrote in message
...
how do I send Chr$(10) to a msgbox so I can have a
sentence in a msgbox on it's own line?





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

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