Soft CR

  • Thread starter Thread starter Garry Jones
  • Start date Start date
G

Garry Jones

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

Help appreciated

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

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
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
 
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.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
:

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
 
You just press Shift+Enter where you want the line break.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
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
 
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.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
Back
Top