cvocvo Posted June 23, 2010 Share Posted June 23, 2010 I know how to make a multiline msgbox, but I can't figure out how to split the msgbox into multiple lines of code. Here's what I have that works: MsgBox(4, "", "If the following information is correct, click 'OK' to continue, otherwise click 'CANCEL'." & @CRLF & "othertext" & @CRLF & "more text" & @CRLF & "even more text") From a code standpoint I want something like this: MsgBox(4, "", "If the following information is correct, click 'OK' to continue, otherwise click 'CANCEL'." & @CRLF & "othertext" & @CRLF & "more text" & @CRLF & "even more text") I know this is possible because I have seen it done a while ago, but I can't find how to accomplish this. Thanks Link to comment Share on other sites More sharing options...
zorphnog Posted June 23, 2010 Share Posted June 23, 2010 MsgBox(4, "", "If the following information is correct, click 'OK' to continue, otherwise click 'CANCEL'." & @CRLF _ & "othertext" & @CRLF _ & "more text" & @CRLF _ & "even more text") Link to comment Share on other sites More sharing options...
cvocvo Posted June 23, 2010 Author Share Posted June 23, 2010 Thanks, that'll do it. I tried with the _ at the beginning of each line but that obviously didn't work. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now