Putting a return within text

N

Newforms

I really need some help with this one, I have tried a few options but
not managed to get any to work. I need to insert a carriage return into
some text automatically entered by a form I have created so that
instead of being on one line it is seperated into paragraphs.

Here is the code I need to alter:

If OptionButton1.Value = True Then
pleasenote = "you need to have had your home loan running with us
for a minimum of one year. Once your home loan has been in place for
the required time, we'll be pleased to reconsider your application."


So that the text will appear like this:

you need to have had your home loan running with us for a minimum of
one year.

Once your home loan has been in place for the required time, we'll be
pleased to reconsider your application."

Any suggestions? Guessing it will be a simple solution, well hoping
more, I am new to all this!

Thanks, Jon
 
C

Cindy M.

Hi Newforms,

vbCR is the command to insert a new paragraph into a Word document. So
you'd do this

"Some text" & vbCR & "Text for the next paragraph." & VbCR & "Another new
paragraph."

I see you put extra vertical space between the paragraphs in your
example. You can format Word paragraphs with SpaceBefore and/or
SpaceAfter. This is the "preferable" way to get extra space. The
alternate method is to insert more than one vbCR.
I really need some help with this one, I have tried a few options but
not managed to get any to work. I need to insert a carriage return into
some text automatically entered by a form I have created so that
instead of being on one line it is seperated into paragraphs.

Here is the code I need to alter:

If OptionButton1.Value = True Then
pleasenote = "you need to have had your home loan running with us
for a minimum of one year. Once your home loan has been in place for
the required time, we'll be pleased to reconsider your application."

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 

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