i tried using char(13) for a carriage return in my msg box but it doesnt work, i tried
dim mychar
mychar = chr(13)
like the help file says and nothing, how would i write one line (carriage return) and then the next line underneath it, thanks!
Msgbox "this goes on the 1st line" & vbcrlf & this goes on the 2nd line Rgds
Geoff "Some cause happiness wherever they go; others whenever they go."
-Oscar Wilde
Just to clarify for you, the carriage return is a character in itself.
So what you are doing is concatenating strings - hence the need for "&" - or you can use "+" if you prefer - it has the same functionality.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.