Hard Cr in Macro Message Box.

  • Thread starter Thread starter JHB
  • Start date Start date
J

JHB

Hi:

I have a macro that includes a message box in which I wish to have two
lines. I am having a problem figuring out how to make the line break.
Line One&cr&Line two does not work. In fact nothing that I have tried
works!

Your help would be much appreciated.

John Baker
 
JHB said:
Hi:

I have a macro that includes a message box in which I wish to have two
lines. I am having a problem figuring out how to make the line break.
Line One&cr&Line two does not work. In fact nothing that I have tried
works!

Your help would be much appreciated.

John Baker
 
If that fails then try using Chr(13) & Chr(10) between the two strings.

John Spencer
Access MVP 2002-2005, 2007-2009
The Hilltop Institute
University of Maryland Baltimore County
 
Back
Top