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
 
Top