There is also
chr(13) & chr(10)
(in that order) as well as
vbCr & vbLf
MsgBox is an application wide object, not just an Access object.
In MsgBox, you can even use either:
chr(10)
or
chr(13)
or
vbLF
or
vbCr
by itself.
I don't like to show just the one by itself because other Access usage
requires both, and using vbNewLine or vbCrLf or chr(13) & chr(10)
keeps MsgBox consistent with other Access/VBA usage.
vbNewLine is guaranteed to be appropriate for the operating system of the
moement. With Access, that is obviously redundant, but I _think_ that VBA
is available on Word, Excel, etc on the Mac isn't it?
Tim F
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.