#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 189
Default msgbox

hi,
how can I have two lines in MsgBox results in VB?
thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default msgbox

Sub msgboxtwolines()
MsgBox "First line" _
& vbCrLf & "Second line"
End Sub

"peyman" wrote:

hi,
how can I have two lines in MsgBox results in VB?
thanks in advance

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 189
Default msgbox

thank you Mike.it's perfect!

"Mike" wrote:

Sub msgboxtwolines()
MsgBox "First line" _
& vbCrLf & "Second line"
End Sub

"peyman" wrote:

hi,
how can I have two lines in MsgBox results in VB?
thanks in advance

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 bumper338 Excel Discussion (Misc queries) 1 December 23rd 06 12:32 AM
MsgBox CC Excel Discussion (Misc queries) 4 May 5th 06 05:45 PM
msgbox James Coughlan Excel Discussion (Misc queries) 3 May 3rd 06 01:57 PM
msgbox flow23 Excel Discussion (Misc queries) 0 January 10th 06 04:25 PM
Msgbox Wildman Excel Worksheet Functions 1 April 26th 05 04:57 AM


All times are GMT +1. The time now is 03:12 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"