Conditional fields on a word document

G

GastonFranzini

Hi,
I need some conditional fields in a word document depending on an value
in excel.
Is there a way of showing or not showing some formated text?
for example:

If X is female, then a line should appear but if X is Male then another
line should appear, the table where I have the gender info is on an
Excel table.
Thanks.
 
C

Charles Kenyon

Yes. This is relatively easy to do so long as you standardize the condition
information. Case makes a difference; Male is not the same as male.

See the gender toolbar at http://addbalance.com/word/download.htm for
examples of gender-conditional fields. In this case, they are based on
document properties rather than merge fields, but you can delete the
{DOCPROPERTY Gender} field and insert a {MergeField Gender} to make them
function in a merge.
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide


--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 
G

GastonFranzini

Thanks a Lot Charles,
Can I use a value in an excel value? rather than Mail merge?
Is there a way of not showing a sentence based in an excel value?
Thanks in advance
 
C

Charles Kenyon

I use mailmerge to pull values from Excel. When I use mailmerge, it is only
on one record at a time.
Short of mailmerge, I don't know how to get something from Excel in a form
where a field can evaluate it. That may just be because I haven't tried.
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide


--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 

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