TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Subject:Re: summary about conditional text in Word From:dmbrown -at- brown-inc -dot- com To:"TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com> Date:Wed, 30 Jan 2002 18:32:32 -0800
Chuck Martin wrote:
>
> ...how to do conditional text in Word, where sections of text would have to
> have multiple conditions.
>
> The simple answer: it can't be done.
I believe that's incorrect. You *can* use multiple conditions to control the
presence or absence of text by "nesting" IF fields:
{ IF bookmarkA = valueX "{ IF bookmarkB = valueY "both-A-and-B" "A-but-not-B" }"
{ IF bookmarkB = valueY "not-A-but-B" "neither-A-nor-B" }
If your conditional text needs to include paragraph marks and section marks,
put it in separate files:
{ IF bookmark = value "{ INCLUDETEXT value.doc }" "{ INCLUDETEXT not-value.doc }" }
I've used this technique in several versions of Word. I just verified the syntax
in Word 97.
--David
=============================
David M. Brown - Brown Inc.
dmbrown -at- brown-inc -dot- com
=============================
HTML Indexer 3, still the easiest way to create and maintain real
back-of-the-book indexes for web sites and other HTML documents.
Now including options for HTML Help and JavaHelp indexes, too!
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Collect Royalties, Not Rejection Letters! Tell us your rejection story when you
submit your manuscript to iUniverse Nov. 6 -Dec. 15 and get five free copies of
your book. What are you waiting for? http://www.iuniverse.com/media/techwr
---
You are currently subscribed to techwr-l as: archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit http://www.raycomm.com/techwhirl/ for more resources and info.