ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Message box ? (https://www.excelbanter.com/excel-discussion-misc-queries/592-message-box.html)

Db1712

Message box ?
 

How do you get multiply lines of text with in a message box?
formatting as

line 1 "text "
line 2 "text "
etc


--
Db1712
------------------------------------------------------------------------
Db1712's Profile: http://www.excelforum.com/member.php...o&userid=15912
View this thread: http://www.excelforum.com/showthread...hreadid=320495


Chip Pearson

Try something like


MsgBox "Line 1" & vbNewLine & _
"Line 2"


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




"Db1712" wrote in message
...

How do you get multiply lines of text with in a message box?
formatting as

line 1 "text "
line 2 "text "
etc


--
Db1712
------------------------------------------------------------------------
Db1712's Profile:
http://www.excelforum.com/member.php...o&userid=15912
View this thread:
http://www.excelforum.com/showthread...hreadid=320495





All times are GMT +1. The time now is 08:42 PM.

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