ExcelBanter

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

Spencer Hutton

Align multiple MsgBox lines
 
Can anyone help me remember the code to make a MsgBox prompt multiple lines.
like if i wanted the prompt to be 3 short phrases, less than 5 words, but
have them on 3 seperate lines.

Tom Ogilvy

Align multiple MsgBox lines
 
msg = "ABCD" & vbNewLine & "EFGH" & vbNewLine & "IJKL"
msgbox msg

--
Regards,
Tom Ogilvy


"Spencer Hutton" wrote in message
...
Can anyone help me remember the code to make a MsgBox prompt multiple

lines.
like if i wanted the prompt to be 3 short phrases, less than 5 words, but
have them on 3 seperate lines.





All times are GMT +1. The time now is 07:22 PM.

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