Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Code to make a New line in a message

i am writing code for a message box to pop up at certain errors in the users
interaction but the message is quite long and I want to break it down onto 2
or 3 lines. I know it is some thing like

&nb??&. can you help please


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default Code to make a New line in a message

Hi



vbCrLf or Chr(10) & Chr(13)




--
JP

http://www.solutionsvba.com


"John Parham" wrote in message
...
i am writing code for a message box to pop up at certain errors in the

users
interaction but the message is quite long and I want to break it down onto

2
or 3 lines. I know it is some thing like

&nb??&. can you help please




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default Code to make a New line in a message

"John Parham" wrote in message
...
i am writing code for a message box to pop up at certain errors in the

users
interaction but the message is quite long and I want to break it down onto

2
or 3 lines. I know it is some thing like

&nb??&. can you help please


MsgBox ("First line" & vbNewLine & "Second line" & vbNewLine & vbNewLine &
"Another line")

--
Dianne


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
Macro code to put series name next to individual line in line grap Otani Charts and Charting in Excel 3 February 23rd 10 07:24 PM
code -message box not messaging Wanna Learn Excel Discussion (Misc queries) 1 January 21st 09 05:03 PM
How do I make a line graph WITHOUT first line starting at zero? NorthStar Charts and Charting in Excel 9 September 7th 07 02:31 PM
Make a line in a bar chart, and change color of any bars that exceed the line MarkM Excel Discussion (Misc queries) 4 July 5th 06 04:06 PM
code break message box freekrill Excel Discussion (Misc queries) 2 November 29th 05 05:26 PM


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