Soft CR

G

Garry Jones

Is there a switch for "soft carriage return" that can be used within a
mergefield code?

Help appreciated

Garry Jones
Sweden
 
S

Suzanne S. Barnhill

Depends what you mean by a "soft carriage return." What are you trying to
accomplish?
 
G

Graham Mayor

Shift+Enter?

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
G

Garry Jones

Suzanne S. Barnhill said:
Depends what you mean by a "soft carriage return." What are you trying to
accomplish?


I have 5 values that are to be merged into word documents if they (the
values) exist. There should be a "soft carriage return" between value 3
and value 4 but only if value 1 exists.

Some possibilities are for instance

Value 1 Value 2 Value 3 Value 4 Value 5

or

Value 1 Value 2 Value 4 Value 5

or

Value 1 Value 2 Value 5

or

Value 2 Value 3
Value 4 Value 5

So I want to know how the code for a conditional carriage return, (the
search and replace code for this ^l does not do it)

Garry Jones
Sweden
 
S

Suzanne S. Barnhill

There is no such thing as a "conditional carriage return." A "soft" line
break is one where the line wraps naturally. You can also have manual line
breaks (Shift+Enter) and paragraph breaks (Enter). If you want a line break
after Value 3, then you can make the line break part of the TrueText (along
with Value 3) in an IF field that tests for the presence of Value 1. It
would be easier, however, just to let the line wrap naturally.
 
G

Garry Jones

:

If you want a line break after Value 3, then you can make the line break
part of the TrueText (along with Value 3) in an IF field that tests for
the presence of Value 1.

So far I am with you. What I don't know is the syntax for "linebreak" or
"soft linebreak" in the IF statement.

Garry Jones
Sweden
 
G

Garry Jones

Suzanne S. Barnhill said:
You just press Shift+Enter where you want the line break.

Thanks, sometimes the easiest answers are the ones you don't think of.
:)

Garry
 
S

Suzanne S. Barnhill

It requires a certain mindset shift to realize that you can put almost
anything inside a field (whole tables, graphics, etc.), not just small bits
of text.
 

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