multiple lines controls

A

Associates

Hi,

I was trying to set up a form for the word application. This is actually for
a letter use. So when a user opens up the template, a form comes up for user
to enter data in. Once finished, press ok which would then put the data into
the words doc. I have created the form.

My problem is i don't know what kind of controls would allow user to enter
multiple lines. By multiple lines, i mean user being able to move down to the
next line. Because this controls will allow user to enter data which will be
dumped into the body text in the letter. I hope i explained it well. I tried
Text-box, or list box. They all only allow a single line of text.

Any ideas?

Thank you in advance
 
J

Jay Freedman

Use the text box control. One of its properties is Multiline. This
defaults to False, but you can set it to True, either in the
Properties pane or in the Userform_Initialize procedure. You probably
also want to set the EnterKeyBehavior property to True, so that
pressing enter starts a new line in the control instead of "clicking"
the OK button.
 

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