New line in a Message Box

SilverFox4me

Registered User.
Local time
Today, 18:29
Joined
Sep 11, 2007
Messages
13
I'm using an VB 'Event Procedure' to display a Message Box

strMsg =

The message is quite long and it displays right across the screen. Is it possible for me to make it display on 3 lines?
 
strMsg = "Your message here" & VbCrLf & _
"will go into another line by using the" & VbCrLf & _
"VbCrLf constant."
 
Thanks... works a treat!
 
I was going to add that I use Chr(13) instead of VbCrLf but then realised that my way has 7 characters and Bobs only has 6. Oh well I will crawl back under my rock :p
 
I was going to add that I use Chr(13) instead of VbCrLf but then realised that my way has 7 characters and Bobs only has 6. Oh well I will crawl back under my rock :p

Can I come visit? :D (actually, I wouldn't want to travel that far. Palau was far enough - actually too far - for me to travel.)
 

Users who are viewing this thread

Back
Top Bottom