paragraph returns

  • Thread starter Thread starter lynn atkinson
  • Start date Start date
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 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
 
Back
Top