Wrap text in MsgBox


Posted by Jim on July 05, 2001 5:22 PM

I would like to wrap my text in a MsgBox?
Thanks, Jim

Posted by Scott S on July 05, 2001 5:37 PM

Jim,

Post the code that you are using in your message box. As far as I know (and I could be wrong), the text should automatically wrap.

Posted by Russell on July 05, 2001 5:50 PM

Use vbCrLf:

MsgBox "This will be on line1" & vbCrLf & "This on line 2"

Hope this is what you were looking for,

Russell

Posted by Scott S on July 05, 2001 5:58 PM

I copied and pasted your code and it seemed to work the way you wanted it to with the 2 lines of info. Is that not how you are seeing it?



Posted by Scott S on July 05, 2001 6:14 PM

Ignore my last Post

Didn't realize this was the solution, and not the problem.