Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / December 2007

Tip: Looking for answers? Try searching our database.

Conditional (IF) Field Output Paragraph Mark

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
BillV - 10 Dec 2007 21:12 GMT
I'm working with the "IF" conditional field in Word 2007.  I'd like the
output to contain a paragraph mark only if the condition is met.  I've failed
to locate an expression for paragraph mark that I can include in the field.

I've stored an Address and Suite Number into separate Document Properties.  
If a Suite is present, I'd like that to precede Address on a separate line
like this:

123 Main St. (no suite)

or

Suite 3 (with suite)
123 Main St.

Here's the expression I've composed:

{ IF { DOCPROPERTY Suite } = "" "{ DOCPROPERTY Address}" "{ DOCPROPERTY
Suite }^p{ DOCPROPERTY Address}" }

I've inserted "^p" after the suite property.  This works for Find and
Replace, but not here.  

Your suggestions are very much appreciated!
macropod - 11 Dec 2007 01:35 GMT
Hi Bill,

It's as simple as hitting the <Enter> key where you want the paragraph mark to go!

Cheers
Signature

macropod
[MVP - Microsoft Word]
-------------------------

> I'm working with the "IF" conditional field in Word 2007.  I'd like the
> output to contain a paragraph mark only if the condition is met.  I've failed
[quoted text clipped - 20 lines]
>
> Your suggestions are very much appreciated!
BillV - 11 Dec 2007 16:28 GMT
That did the trick.  Thanks macropod!

I had actually tried this, but failed to "Update Field" when testing.  It
would seem intuitive that a modified field would be updated automatically,
just as Excel updates when formulas are changed.

Bill

> Hi Bill,
>
> It's as simple as hitting the <Enter> key where you want the paragraph mark to go!
>
> Cheers
macropod - 11 Dec 2007 19:52 GMT
Hi Bill,

Few Word fields update automatically - you usually need to do something like previewing or printing the document. Alternatively, you
could use Ctrl-A then F9 to update everything in the body of the document.

Cheers
Signature

macropod
[MVP - Microsoft Word]
-------------------------

> That did the trick.  Thanks macropod!
>
[quoted text clipped - 9 lines]
>>
>> Cheers
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.