Sign in to follow this  
Followers 0
Rolstoelfreak

New line in Msgbox

2 posts in this topic

Hey all,

Just a quick question. Is there a command to start a new line in a messagebox?

So for example Msgbox (0, "title", "text on first line" & \n & " text on second line")

Is this possible?

1 person likes this

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Hey all,

Just a quick question. Is there a command to start a new line in a messagebox?

So for example Msgbox (0, "title", "text on first line" & \n & " text on second line")

Is this possible?

Cutted and posted directly from the help file:

@CR Carriage return, Chr(13); sometimes used for line breaks.

@LF Line feed, Chr(10); typically used for line breaks.

@CRLF = @CR & @LF ;occasionally used for line breaks.

So your code would be Msgbox (0, "title", "text on first line" & @LF & " text on second line")

;)

Edited by Confuzzled
1 person likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0