How to do a carriage return

yhgtbfk

Registered User.
Local time
Today, 14:46
Joined
Aug 30, 2004
Messages
123
Hi guys

Im trying to set my label to a string.

Something like

myLabel.caption = StringOne & chr(13) & StringTwo

The problem is I just get funny symbols instead of the carriage return.

Please help

Thank you in advance
 
try StringOne & vbCrLf & StringTwo

or

try StringOne & Chr(10)+Chr(13) & StringTwo
 
Treason said:
try StringOne & vbCrLf & StringTwo

That worked perfectly

Thank you
 

Users who are viewing this thread

Back
Top Bottom