View Full Version : Solved: charcode for linebreak in "memo"
antonin
10-17-2006, 12:17 AM
I need to break lines in a "memo" with a Chr(x) control character - cannot find out what the x should be.
TiA
Antonin
There is an Ascii version and a VB version, the Ascii code is Chr$(13).
The VB code is vbNewLine
antonin
10-17-2006, 07:00 AM
Actually, Chr(13) does not work (I had tried it before), but vbNewLine works fine.
Antonin
Antonin, you are right.
That is very interesting, because CHR$(13) works ok in Message box text as a line feed.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.