PDA

View Full Version : Solved: Multiple lines in a textbox



Giuliar
06-14-2008, 03:12 PM
:help I have created a template with a userform and I have a textbox for an address which I would like to make into a multiple line textbox. For example, If the address has the street number and an apartment number, I would like the street number to be on one line and the apartment number to be on the next line below it and I would like the user to be able to press the enter key to put in the apartment number. There may not always be an apartment number, so that is why I was thinking a multiple line textbox would work. is this possible or is there a better way to accomplish this? And if so, how do I code it. Thanks.

Giuliar
06-14-2008, 03:26 PM
I found the multiline property and changed it to true. So no help needed.

fumei
06-17-2008, 10:23 AM
If this is going to be used by other people, and they are not familiar with it, may I suggest a Label with text to explain to use Shift-Enter to make the new lines?

Unless of course you also changed the EnterKeyBehavior property.