Link to home
Start Free TrialLog in
Avatar of mmahdi
mmahdi

asked on

How to programmatically insert a linefeed into a text box

This is a simple one (not for me though):

I would like to insert several lines of text into a text box at runtime but each one in a seperate line. When I use for exple: text1 = line1 & vbcr & line2, the text1 box shows: 'line1'|'line2'

Please help.

Regards
Mmahdi
ASKER CERTIFIED SOLUTION
Avatar of waty
waty
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mark2150
mark2150

Don't forget to set the text box .MultiLine property to True!

M

Avatar of mmahdi

ASKER

Cool! Tanks