A Allen Browne Feb 12, 2004 #2 In the interface, just press Enter. If that does not work, change the EnterKeyBehavior property of the text box. In code, add a Carriage Return (Chr 13) and Line Feed (Chr 10) pair:: Me.MyTextbox = "Line1" & vbCrLf & "Line 2"
In the interface, just press Enter. If that does not work, change the EnterKeyBehavior property of the text box. In code, add a Carriage Return (Chr 13) and Line Feed (Chr 10) pair:: Me.MyTextbox = "Line1" & vbCrLf & "Line 2"
R Rick Feb 12, 2004 #3 In my experience, pressing enter does not work, it moves you to the next fied. But pressing CTRL+ENTER in a memo field will insert a carriage return and line feed. No need for a bunch of code. Rick
In my experience, pressing enter does not work, it moves you to the next fied. But pressing CTRL+ENTER in a memo field will insert a carriage return and line feed. No need for a bunch of code. Rick