Messagebox text formating

J

Joe Bohen

I have quite a few message boxes written in my
applications, some of which appear unwieldy as they
stretch across the screen. They would look better if they
were forced onto two lines or more.
Once again my insomnia depends on an answer.
My wife sends her thanks for the anticipated support.
Joe
 
A

Allen Browne

MsgBox "Best regards" & vbCrLf & "to you and yours."

If you use macros instead of code make the message:
"Best regards" & Chr(13) & Chr(10) & "to you and yours."
 
M

Michel Walsh

Hi,


MsgBox "GO "& vbCrLf & "to sleep" & vbCrLf & vbCrLf & _
"OK: agree" & vbCrLf & "No: do not agree" , vbOKOnly+vbExclamation



Vanderghast, Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top