Hello all.
Does anyone have any idea how to force a line break in a Msg box? Someone suggested Alt + Enter in the code where the text for the message is entered, but that didn't work.
Any help would be appreciated.
Thanks.
Steve
Jeff,
Thanks so much! It works great.
Two questions though.
1) What does "VbCrLf" stand for, and where could I find more such propreties, and what they stand for? (in the Microsoft help section?)
2) My line of code for the mesage box method is too long.
How do you put a line break there? I thought it was the underscore character (_), but that doesn't seem to work.
Thnaks again!
Steve
Just to add a little to GHolden's excellent post. Make sure that you have a space before the _ or it will not work. And, to find more constants, open VB Help and click on the contents tab. Find Visual Basic Language Reference and click on that. One of the choices should be Constants. vbCrLf is found under Miscellaneous, but there are many categories.
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.