Making a custom error message appear on multiple lines

  • Thread starter Thread starter Steve C
  • Start date Start date
S

Steve C

Hello,

I have created a Microsoft Access 2003 database, and was
wondering if there is a way to make a custom error
message appear on two/three lines.

If you make an error message using a Macro, you can
insert a "@" to make a new line, which makes the first
line bold etc.

How can I do this in VBA?

Thanks!

Steve C.
 
In VBA:

MsgBox "This is line one." & vbCrLf & "This is line two."

vbCrLf is an intrinsic constant that is the concatenation of Chr(13) and
Chr(10).
 
Back
Top