Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 106
Default MsgBox with multiple lines

How can I change lines in a MsgBox, just like entering Alt-Enter in a cell?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default 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?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MsgBox text on several lines mohavv Excel Discussion (Misc queries) 1 November 21st 07 08:17 PM
Multiple lines desired in Msgbox Linking to specific cells in pivot table Excel Programming 9 June 8th 05 04:03 AM
Msgbox w/ multi-lines jt46[_2_] Excel Programming 1 October 11th 04 07:57 PM
MsgBox With Multiple Lines? ianripping[_49_] Excel Programming 2 April 20th 04 11:41 AM
Multiple lines in MsgBox NJF Excel Programming 3 January 13th 04 01:50 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"