help with 2 or more lines in text box

C

colm o'brien

I want to use a userform to collect data from user for insertion in word
document, the first text box should collect the name and address for
insertion at top of a letter as an address block.

i have set the multiline property to true but how do i enter returns in the
text. if i press return it moves focus to next text box.

please help
 
J

Jean-Guy Marcil

colm o'brien was telling us:
colm o'brien nous racontait que :
I want to use a userform to collect data from user for insertion in
word document, the first text box should collect the name and address
for insertion at top of a letter as an address block.

i have set the multiline property to true but how do i enter returns
in the text. if i press return it moves focus to next text box.

Use the "EnterKeyBehavior" property (True will create a new line, False will
move the control to the next control, which is the default behaviour) as
well as the MultiLine one.


--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top